Update onpush_chmod.yaml

This commit is contained in:
Alexandre
2022-06-15 21:04:28 +02:00
committed by GitHub
parent 73869be1c7
commit 46fa515caf

View File

@@ -21,9 +21,11 @@ jobs:
find . -name *.sh -print0 | xargs -0 chmod +x && \ find . -name *.sh -print0 | xargs -0 chmod +x && \
grep -rl '#!/' . | xargs chmod +x grep -rl '#!/' . | xargs chmod +x
shell: bash shell: bash
- name: Commit if needed - name: Create New Pull Request If Needed
if: steps.sort.outputs.changed != '' if: steps.calibre.outputs.markdown != ''
uses: EndBug/add-and-commit@v9 uses: peter-evans/create-pull-request@v4
with: with:
message: "Github bot : script executable" title: "Github bot : script chmod"
default_author: github_actions branch-suffix: timestamp
commit-message: "Github bot : script chmod"
body: ${{ steps.calibre.outputs.markdown }}