hasown/.github/workflows/require-allow-edits.yml
raw| 1 | name: Require “Allow Edits” |
| 2 | |
| 3 | on: [pull_request_target] |
| 4 | |
| 5 | permissions: |
| 6 | contents: read |
| 7 | |
| 8 | jobs: |
| 9 | _: |
| 10 | permissions: |
| 11 | pull-requests: read # for ljharb/require-allow-edits to check 'allow edits' on PR |
| 12 | |
| 13 | name: "Require “Allow Edits”" |
| 14 | |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | steps: |
| 18 | - uses: ljharb/require-allow-edits@main |