Update onpush_superlinter.yml

This commit is contained in:
Alexandre
2022-06-20 11:03:51 +02:00
committed by GitHub
parent 3bc9ded1a7
commit 98e3f9b6aa

View File

@@ -22,8 +22,7 @@ jobs:
id: chmod
run: |
git ls-files --stage | grep ".sh$" | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
git grep --files-with-matches 'bash' | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
git commit -m "Changing file permissions"
git grep --files-with-matches 'bash' | cut -f2 | xargs -d '\n' git update-index --chmod=+x
shell: bash
- name: Commit if needed
if: steps.chmod.outputs.changed != ''