Merge pull request #5919 from kit-ty-kate/fix-wrong-var-assign-tree #107
This file contains 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/hygiene.sh' | |
- '.github/scripts/common/hygiene-preamble.sh' | |
push: | |
branches: | |
- 'master' | |
- '2.**' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
hygiene-scripts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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/hygiene.sh |