From 0ef4b66d1af2e6d789cdeb445ca5d8144e62bc61 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 20 Dec 2022 09:48:28 +0100 Subject: [PATCH] Update onpush_superlinter.yml --- .github/workflows/onpush_superlinter.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: