diff --git a/.github/workflows/require-maintainer-approval.yml b/.github/workflows/require-maintainer-approval.yml index b13e7b7..cf1abda 100644 --- a/.github/workflows/require-maintainer-approval.yml +++ b/.github/workflows/require-maintainer-approval.yml @@ -25,7 +25,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | - const MAINTAINERS = ['imran-siddique']; + const MAINTAINERS = ['imran-siddique', 'pforest', 'podcastinator', 'carloshvp', 'Qiang-Xu']; const author = context.payload.pull_request.user.login; if (MAINTAINERS.includes(author)) { @@ -33,12 +33,6 @@ jobs: return; } - const association = context.payload.pull_request.author_association; - if (association === 'MEMBER' || association === 'OWNER') { - core.info(`Author is ${association}, skipping gate`); - return; - } - // Both pull_request_target and pull_request_review payloads // carry the PR at context.payload.pull_request. const prNumber = context.payload.pull_request.number;