diff --git a/.github/workflows/onpush_superlinter.yml b/.github/workflows/onpush_superlinter.yml index 4cefd210e..f1622479e 100644 --- a/.github/workflows/onpush_superlinter.yml +++ b/.github/workflows/onpush_superlinter.yml @@ -21,7 +21,8 @@ jobs: - name: Make scripts executable run: | echo "Starting" - find . -type f -iname "*.sh" -exec chmod 755 {} \; + # shellcheck disable=SC2086 + git update-index --chmod=+x $(find . -type f -iname "*.sh") - name: Commit if needed uses: EndBug/add-and-commit@v9 with: