Compare commits
1 commit
718327754a
...
a3eb837ba2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3eb837ba2 |
1 changed files with 49 additions and 52 deletions
|
|
@ -463,8 +463,6 @@ if [ "$ORPHAN_COUNT" -gt 0 ]; then
|
|||
BLOCKED_BY_INPROGRESS=true
|
||||
fi
|
||||
|
||||
# Only process PR if not abandoned (stale branch check above)
|
||||
if [ "$BLOCKED_BY_INPROGRESS" = false ]; then
|
||||
PR_SHA=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" \
|
||||
"${API}/pulls/${HAS_PR}" | jq -r '.head.sha') || true
|
||||
CI_STATE=$(ci_commit_status "$PR_SHA") || true
|
||||
|
|
@ -522,7 +520,6 @@ if [ "$ORPHAN_COUNT" -gt 0 ]; then
|
|||
log "issue #${ISSUE_NUM} has open PR #${HAS_PR} (CI: ${CI_STATE}, waiting)"
|
||||
BLOCKED_BY_INPROGRESS=true
|
||||
fi
|
||||
fi
|
||||
else
|
||||
# Check assignee before adopting orphaned issue
|
||||
ISSUE_JSON=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue