Update onpush_chmod.yaml

This commit is contained in:
Alexandre
2022-06-15 20:40:37 +02:00
committed by GitHub
parent f51afcd7ad
commit c9e14c2c48

View File

@@ -19,7 +19,7 @@ jobs:
id: chmod id: chmod
run: | run: |
find . -name *.sh -print0 | xargs -0 chmod +x && \ find . -name *.sh -print0 | xargs -0 chmod +x && \
grep -r '#!/' . | xargs chmod +x grep -rl '#!/' . | xargs chmod +x
shell: bash shell: bash
- name: Commit if needed - name: Commit if needed
if: steps.sort.outputs.changed != '' if: steps.sort.outputs.changed != ''