-
Notifications
You must be signed in to change notification settings - Fork 14
private repo 会出现 author_association 判定失败 #141
Copy link
Copy link
Closed
Labels
area:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsbugSomething isn't workingSomething isn't workingrepro:highHigh-confidence or easily reproducible issueHigh-confidence or easily reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
Metadata
Metadata
Assignees
Labels
area:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsbugSomething isn't workingSomething isn't workingrepro:highHigh-confidence or easily reproducible issueHigh-confidence or easily reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
建议改成这个规则:
允许:
拒绝:
这样能解决你这次误判,也不会把 /fix 开给所有历史贡献者。
实现点:
repos/{owner}/{repo}/collaborators/{user}/permission
这比直接把 CONTRIBUTOR 加进 AUTHORIZED_ASSOCIATIONS 安全得多。