name: Github workflows linter on: pull_request: paths: - ".github/workflows/**" permissions: contents: read jobs: lint-workflows: runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 with: go-version: ">=1.24.0" - name: Install actionlint run: go install github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 - name: Run actionlint env: SHELLCHECK_OPTS: --exclude=SC2102 run: actionlint