mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
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:
parent
82df3d38de
commit
e125aeb712
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue