1name: lint-shell 2 3on: 4 pull_request: 5 paths: 6 - '.github/workflows/lint-shell.yaml' 7 - 'scripts/**' 8 push: 9 branches: 10 - master 11 12concurrency: 13 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} 14 cancel-in-progress: true 15 16jobs: 17 shellcheck: 18 name: ShellCheck 19 runs-on: ubuntu-latest 20 steps: 21 - name: Checkout repository 22 uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 23 24 - name: Run ShellCheck 25 uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 26 with: 27 scandir: './scripts' 28