Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/require-maintainer-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ on:

permissions:
contents: read
pull-requests: read
statuses: write

jobs:
gate:
runs-on: ubuntu-latest
# Reads the PR and its reviews, then fails the job if no maintainer
# approved the head commit. It writes nothing, so no write scope.
permissions:
contents: read
pull-requests: read
if: github.event.pull_request.base.ref == 'main'
steps:
- name: Check for maintainer approval
Expand Down
Loading