diff --git a/.github/workflows/validate-runners.yaml b/.github/workflows/validate-runners.yaml index b7e081ec..02410f10 100644 --- a/.github/workflows/validate-runners.yaml +++ b/.github/workflows/validate-runners.yaml @@ -13,6 +13,27 @@ permissions: contents: read jobs: + shellcheck: + name: runner / shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: shellcheck + uses: reviewdog/action-shellcheck@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: shellcheck + path: "./runner" + pattern: | + *.sh + *.bash + update-status + # Make this consistent with `make shellsheck` + shellcheck_flags: "--shell bash --source-path runner" + exclude: "./.git/*" + check_all_files_with_shebangs: "false" + # Set this to "true" once we addressed all the shellcheck findings + fail_on_error: "false" test-runner-entrypoint: name: Test entrypoint runs-on: ubuntu-latest