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

valdar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new d18a254  attempt to fix github action to sync with main Camel repo
d18a254 is described below

commit d18a254d2334194f7e03d9149a534892c887d090
Author: Andrea Tarocchi <andrea.taroc...@gmail.com>
AuthorDate: Mon Feb 17 21:02:58 2020 +0100

    attempt to fix github action to sync with main Camel repo
---
 .github/workflows/automatic-sync-master.yml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/automatic-sync-master.yml 
b/.github/workflows/automatic-sync-master.yml
index 406937b..0453389 100644
--- a/.github/workflows/automatic-sync-master.yml
+++ b/.github/workflows/automatic-sync-master.yml
@@ -23,7 +23,7 @@ on:
     - cron:  '10 * * * *'
 jobs:
   build:
-    name: Build
+    name: Sync Camel Spring Boot Master Branch
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -43,16 +43,19 @@ jobs:
         uses: actions/checkout@v1
         with:
           path: camel-spring-boot
+          ref: master
       - name: Set Up Java
         uses: actions/setup-java@v1
         with:
           java-version: 1.8
       - name: Build Project
         run: ./mvnw -V --no-transfer-progress clean install -DskipTests
-      - name: GitHub Pull Request Action
-        uses: repo-sync/pull-request@v2.0.1
+      - name: Create Pull Request
+        uses: peter-evans/create-pull-request@v2.4.1
         with:
-          source_branch: master
-          destination_branch: master
-          pr_title: Automatic sync branch master to camel-master
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          token: ${{ secrets.GITHUB_TOKEN }}
+          branch:
+          title: '[Github Actions] Periodic Sync Camel Spring Boot Master 
Branch'
+          body: |
+            Periodic Sync of Camel Spring Boot Master Branch with main Camel 
Master.
+            see 
https://github.com/apache/camel-spring-boot/blob/master/.github/workflows/automatic-sync-master.yml

Reply via email to