This commit is contained in:
Alexandre
2022-06-15 20:48:04 +02:00

View File

@@ -18,8 +18,7 @@ jobs:
- name: Run script file - name: Run script file
id: chmod id: chmod
run: | run: |
find . -name *.sh -print0 | xargs -0 chmod +x && \ find . -name *.sh -print0 | xargs -0 git update-index --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 != ''