name: lint-shell on: pull_request: paths: - '.github/workflows/lint-shell.yaml' - 'scripts/**' push: branches: - main concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} cancel-in-progress: true jobs: shellcheck: name: ShellCheck runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - name: Run ShellCheck uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 with: scandir: './scripts'