From fe7d80852432fd21a3e2f6b3ebd515d7b90cce68 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:11:11 +0100 Subject: [PATCH] Update onpush_builder.yaml --- .github/workflows/onpush_builder.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index 5d616827a..fa2dac660 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -14,8 +14,30 @@ on: - "**/config.*" jobs: + make-executable: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: Make scripts executable + run: | + echo "Starting" + git config core.filemode true + # shellcheck disable=SC2086,SC2046 + #git update-index --chmod=+x $(find . -type f -iname "*.sh") + chmod u+x $(find . -type f -iname "*.sh") + #git commit -am "fixing the script permissions..." + - name: Commit if needed + uses: EndBug/add-and-commit@v9 + with: + commit: -u + message: "GitHub bot : scripts executable" + default_author: github_actions + check-addon-changes: runs-on: ubuntu-latest + needs: make-executable outputs: changedAddons: ${{ steps.filter.outputs.changes }} steps: