refactor: extract ensure_blocked_label_id to lib/ci-helpers.sh (#352)
Move ensure_blocked_label_id() from dev/phase-handler.sh into lib/ci-helpers.sh to eliminate the duplicate blocked-label creation curl block that existed in both phase-handler.sh and dev-poll.sh. Both dev-agent.sh and action-agent.sh now source lib/ci-helpers.sh so the function is available when phase-handler.sh calls it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
61c44d31b1
commit
bda9240268
5 changed files with 24 additions and 29 deletions
|
|
@ -22,6 +22,7 @@ set -euo pipefail
|
|||
|
||||
# Load shared environment
|
||||
source "$(dirname "$0")/../lib/env.sh"
|
||||
source "$(dirname "$0")/../lib/ci-helpers.sh"
|
||||
source "$(dirname "$0")/../lib/agent-session.sh"
|
||||
source "$(dirname "$0")/../lib/formula-session.sh"
|
||||
# shellcheck source=./phase-handler.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue