Skip to content

Commit e125aeb

Browse files
committed
fix: skip linked issue check for collaborators and owners
AUTHOR_ASSOCIATION can be COLLABORATOR (repo-level access) or OWNER, not just MEMBER (org-level). Accept all three.
1 parent 82df3d3 commit e125aeb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
exit 0
4545
fi
4646
47-
# Skip for org members
48-
if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" ]]; then
49-
echo "Org member ($PR_AUTHOR) — skipping linked issue check."
47+
# Skip for org members and collaborators
48+
if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" || "$AUTHOR_ASSOCIATION" == "COLLABORATOR" || "$AUTHOR_ASSOCIATION" == "OWNER" ]]; then
49+
echo "Org member ($PR_AUTHOR, $AUTHOR_ASSOCIATION) — skipping linked issue check."
5050
exit 0
5151
fi
5252

0 commit comments

Comments
 (0)