fix: read contribution allowlist from default branch

This commit is contained in:
Nightt
2026-06-02 10:48:01 +08:00
committed by Hunter B
parent dcf8350ff8
commit 50590761ac
+1 -1
View File
@@ -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(