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.
This commit is contained in:
Kevin Turcios 2026-04-23 06:16:16 -05:00
parent 82df3d38de
commit e125aeb712

View file

@ -44,9 +44,9 @@ jobs:
exit 0
fi
# Skip for org members
if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" ]]; then
echo "Org member ($PR_AUTHOR) — skipping linked issue check."
# Skip for org members and collaborators
if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" || "$AUTHOR_ASSOCIATION" == "COLLABORATOR" || "$AUTHOR_ASSOCIATION" == "OWNER" ]]; then
echo "Org member ($PR_AUTHOR, $AUTHOR_ASSOCIATION) — skipping linked issue check."
exit 0
fi