From dcce76403ac158b6c83bdf7d3dc7315d1f106084 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Wed, 15 Apr 2026 17:34:42 +0000 Subject: [PATCH] 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) --- .woodpecker/issue-automation.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/issue-automation.yml b/.woodpecker/issue-automation.yml index 15ed2774..fc410439 100644 --- a/.woodpecker/issue-automation.yml +++ b/.woodpecker/issue-automation.yml @@ -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"