Merge pull request #6767 from kit-ty-kate/gha-run-main-workflow-shell #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test scripts | |
| on: | |
| pull_request: | |
| paths: | |
| - 'shell/install.sh' | |
| - '.github/workflows/scripts.yml' | |
| - '.github/scripts/scripts/install-check.sh' | |
| - '.github/scripts/common/hygiene-preamble.sh' | |
| push: | |
| branches: | |
| - 'master' | |
| - '2.**' | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| install-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Check scripts | |
| env: | |
| # Defined only on pull request jobs | |
| BASE_REF_SHA: ${{ github.event.pull_request.base.sha }} | |
| PR_REF_SHA: ${{ github.event.pull_request.head.sha }} | |
| run: bash -exu .github/scripts/scripts/install-check.sh |