| # Template generated by https://github.com/coreos/repo-templates; do not edit downstream |
| |
| name: ShellCheck |
| |
| on: |
| pull_request: |
| branches: [main] |
| |
| permissions: |
| contents: read |
| |
| jobs: |
| shellcheck: |
| name: Shellcheck |
| runs-on: ubuntu-latest |
| container: quay.io/coreos-assembler/fcos-buildroot:testing-devel |
| steps: |
| - name: Check out repository |
| uses: actions/checkout@v3 |
| # https://github.com/actions/checkout/issues/760 |
| - name: Mark git checkout as safe |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" |
| - name: Run ShellCheck |
| run: ci/shellcheck |