Skip to content

Commit 6f58858

Browse files
committed
CI: allow collaborators in PR author org check
Treat repository collaborators as trusted for restricted-path changes so the workflow blocks only authors with no collaborator, member, or owner association. Made-with: Cursor
1 parent a4aa6f0 commit 6f58858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-author-org-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
IS_ALLOWED=false
7575
case "$AUTHOR_ASSOCIATION" in
76-
MEMBER|OWNER)
76+
COLLABORATOR|MEMBER|OWNER)
7777
IS_ALLOWED=true
7878
;;
7979
esac

0 commit comments

Comments
 (0)