Skip to content

Commit 4f91b11

Browse files
fix(ci): Check maintainer status against PR repo, not issue repo
When a PR references a cross-repo issue, the discussion participants should be checked for maintainer status on the PR's target repo, not the issue's repo. A sentry-python maintainer commenting on a getsentry/sentry issue should still count as vetting the work. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d760912 commit 4f91b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/close-unvetted-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
197197
for (const user of usersToCheck) {
198198
if (user === prAuthor) continue;
199-
if (await isMaintainer(ref.owner, ref.repo, user)) {
199+
if (await isMaintainer(repo.owner, repo.repo, user)) {
200200
maintainerParticipated = true;
201201
core.info(`Maintainer ${user} participated in ${ref.owner}/${ref.repo}#${ref.number}.`);
202202
break;

0 commit comments

Comments
 (0)