You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/04/20 19:48:14 UTC

[camel] 02/03: Moving from master branch to main - gh actions

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2d369c1ad76dde3ba3bfcc20fb7e4b0ca7aa54a0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 20 21:45:22 2021 +0200

    Moving from master branch to main - gh actions
---
 .github/workflows/asf-snapshots-deploy.yml | 2 +-
 .github/workflows/master-pr-build.yml      | 4 ++--
 .github/workflows/master-push-build.yml    | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/asf-snapshots-deploy.yml b/.github/workflows/asf-snapshots-deploy.yml
index fae4d79..6525de8 100644
--- a/.github/workflows/asf-snapshots-deploy.yml
+++ b/.github/workflows/asf-snapshots-deploy.yml
@@ -46,7 +46,7 @@ jobs:
   deploy:
     runs-on: ubuntu-latest
     needs: build
-    if: github.ref == 'refs/heads/master'
+    if: github.ref == 'refs/heads/main'
     env:
       NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
       NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
index 5f380bc..5d00ad4 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -15,12 +15,12 @@
 # limitations under the License.
 #
 
-name: master pr build
+name: main pr build
 
 on:
   pull_request:
     branches:
-      - master
+      - main
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
index 3a0d8d7..ada20fb 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -20,7 +20,7 @@ name: build
 on:
   push:
     branches:
-      - master
+      - main
 jobs:
   build:
     runs-on: ubuntu-latest
@@ -54,7 +54,7 @@ jobs:
           branch: regen_bot
           title: "Generated sources regen"
           body: |
-            Regen bot :robot: found some uncommited changes after running build on :camel: master.
+            Regen bot :robot: found some uncommited changes after running build on :camel: main.
             Please do not delete `regen_bot` branch after merge/rebase.
           labels: |
             regen