fix(ci): sop-tier-check gracefully handles empty/invalid token (staging) #636
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#636
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/sop-tier-check-token-graceful-staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Same fix as PR #635 (main branch) — applies the token-graceful handling
to staging branch sop-tier-check.sh.
When SOP_TIER_CHECK_TOKEN is empty/invalid, three API calls exit the
script with code 1 before SOP_FAIL_OPEN=1 can be evaluated:
whoami,teams-list, andreviews. Fix: add|| trueto jq pipelinesand
set +e/set -eguards around curl calls.Changes
.gitea/scripts/sop-tier-check.shReferences