From 50590761acbde78169da3499c05c7efb773f15c3 Mon Sep 17 00:00:00 2001 From: Nightt <87569709+nightt5879@users.noreply.github.com> Date: Tue, 2 Jun 2026 10:48:01 +0800 Subject: [PATCH] fix: read contribution allowlist from default branch --- .github/workflows/pr-gate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml index 428af059..23fe1f95 100644 --- a/.github/workflows/pr-gate.yml +++ b/.github/workflows/pr-gate.yml @@ -40,7 +40,7 @@ jobs: owner, repo, path: '.github/APPROVED_CONTRIBUTORS', - ref: pr.base.ref, + ref: context.payload.repository.default_branch, }); if (Array.isArray(data) || data.type !== 'file') return new Set(); return parseAllowlist(