name: Workflow lint on: pull_request: push: branches: - master concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true permissions: contents: read jobs: jactionlint: name: Lint GitHub Actions runs-on: ubuntu-latest timeout-minutes: 10 steps: - name: Harden the runner (Audit all outbound calls) uses: step-security/harden-runner@v2.23.0 with: egress-policy: audit - name: Checkout uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Lint workflows and Dependabot configuration uses: jdx/jactionlint@v2.6.0 with: profile: default online: "false" - name: Verify action lockfile uses: github/gh-actions-lock@verify/v0.5.1