You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/09/19 12:39:00 UTC
[camel] branch master updated: CAMEL-15556: Create automated PR for
regen (#4254)
This is an automated email from the ASF dual-hosted git repository.
janbednar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new c9d1e3f CAMEL-15556: Create automated PR for regen (#4254)
c9d1e3f is described below
commit c9d1e3fc60189386c9cf800977ae9f4e53883bae
Author: Jan Bednar <ma...@janbednar.eu>
AuthorDate: Sat Sep 19 14:38:34 2020 +0200
CAMEL-15556: Create automated PR for regen (#4254)
---
.github/workflows/master-push-build.yml | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
index 2340262..d1156b8 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -28,7 +28,7 @@ jobs:
matrix:
java: [ '1.8' ]
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
@@ -41,12 +41,20 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: mvn sourcecheck
run: ./mvnw -V --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
- - name: Check if there are uncommited changes
- id: changes
- uses: bedlaj/has-changes-action@camel
- - name: Fail if git tree is dirty
- if: steps.changes.outputs.changed == 1
- run: |
- echo "Maven build will override some files, which are not commited as part of this PR. Please run maven build and commit generated sources."
- echo "${{ steps.changes.outputs.changes }}"
- exit 1
\ No newline at end of file
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v3
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ commit-message: "Regen for commit ${{ github.sha }}"
+ committer: GitHub <no...@github.com>
+ author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
+ signoff: true
+ branch: regen_bot
+ title: "Generated sources regen"
+ body: |
+ Regen bot :robot: found some uncommited changes after running build on :camel: master.
+ Please do not delete `regen_bot` branch after merge/rebase.
+ labels: |
+ regen
+ automated pr
+ assignees: oscerd
\ No newline at end of file