From 46fa515caf78773bca5c163cd92a2fe1df37a1f3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 15 Jun 2022 21:04:28 +0200 Subject: [PATCH] Update onpush_chmod.yaml --- .github/workflows/onpush_chmod.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/onpush_chmod.yaml b/.github/workflows/onpush_chmod.yaml index 9f9ff5204..bab3c4c38 100644 --- a/.github/workflows/onpush_chmod.yaml +++ b/.github/workflows/onpush_chmod.yaml @@ -21,9 +21,11 @@ jobs: find . -name *.sh -print0 | xargs -0 chmod +x && \ grep -rl '#!/' . | xargs chmod +x shell: bash - - name: Commit if needed - if: steps.sort.outputs.changed != '' - uses: EndBug/add-and-commit@v9 - with: - message: "Github bot : script executable" - default_author: github_actions + - name: Create New Pull Request If Needed + if: steps.calibre.outputs.markdown != '' + uses: peter-evans/create-pull-request@v4 + with: + title: "Github bot : script chmod" + branch-suffix: timestamp + commit-message: "Github bot : script chmod" + body: ${{ steps.calibre.outputs.markdown }}