Update onpush_chmod.yaml

This commit is contained in:
Alexandre
2022-06-15 20:45:47 +02:00
committed by GitHub
parent ceda1e8438
commit 5ccf34ddc7

View File

@@ -18,8 +18,7 @@ jobs:
- name: Run script file
id: chmod
run: |
find . -name *.sh -print0 | xargs -0 chmod +x && \
grep -rl '#!/' . | xargs chmod +x
find . -name *.sh -print0 | xargs -0 git update-index --chmod=+x
shell: bash
- name: Commit if needed
if: steps.sort.outputs.changed != ''