fix: use direct env vars for Woodpecker pipeline variables
Woodpecker injects manual pipeline variables as direct env vars (e.g., $ISSUE_NUMBER), not as CI_PIPELINE_VARIABLE_* prefixed vars. The provision-user pipeline already uses this pattern correctly. [ci skip] Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
704fa09185
commit
dcce76403a
1 changed files with 4 additions and 4 deletions
|
|
@ -36,10 +36,10 @@ steps:
|
|||
echo "SSH key fetched"
|
||||
# SSH to DevVM and run issue-responder agent
|
||||
- |
|
||||
ISSUE_NUM="${CI_PIPELINE_VARIABLE_ISSUE_NUMBER:-}"
|
||||
ISSUE_TITLE="${CI_PIPELINE_VARIABLE_ISSUE_TITLE:-}"
|
||||
ISSUE_LABELS="${CI_PIPELINE_VARIABLE_ISSUE_LABELS:-}"
|
||||
ISSUE_URL="${CI_PIPELINE_VARIABLE_ISSUE_URL:-}"
|
||||
ISSUE_NUM="${ISSUE_NUMBER:-}"
|
||||
ISSUE_TITLE="${ISSUE_TITLE:-}"
|
||||
ISSUE_LABELS="${ISSUE_LABELS:-}"
|
||||
ISSUE_URL="${ISSUE_URL:-}"
|
||||
|
||||
if [ -z "$ISSUE_NUM" ]; then
|
||||
echo "ERROR: No issue number provided"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue