Repository navigation
PR #52 body compliance - opened - event 431 (run 40357809117) #431
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Require no-mistakes | |
| run-name: "PR #${{ github.event.pull_request.number }} body compliance - ${{ github.event.action }} - event ${{ github.run_number }} (run ${{ github.run_id }})" | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| # GitHub concurrency groups retain at most one pending run, replacing older | |
| # pending runs even when cancel-in-progress is false. Give body-bearing events | |
| # an immutable per-event group so first-time-fork approvals can never collapse | |
| # opened/edited checks. Keep synchronize/reopened coalescing as before. | |
| concurrency: | |
| group: no-mistakes-required-${{ github.event.pull_request.number }}-${{ (github.event.action == 'opened' || github.event.action == 'edited') && github.run_id || 'head-change' }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: PR must be raised via no-mistakes | |
| runs-on: ubuntu-latest | |
| if: >- | |
| github.event.pull_request.user.login != 'github-actions[bot]' && | |
| github.event.pull_request.user.login != 'dependabot[bot]' | |
| steps: | |
| - name: Verify no-mistakes signature and pipeline attestation | |
| uses: kunchenguid/no-mistakes/.github/actions/require-no-mistakes@f6441c96c352a18b9cadcaef6b6c7017e9ac3970 # v1.80.1 | |
| with: | |
| exempt-authors: kunchenguid |