fix: guard manual Woodpecker pipelines with evaluate conditions

When GHA triggers a manual pipeline for issue automation, ALL pipelines
with event:manual fire. Added evaluate conditions:
- issue-automation.yml: only runs when ISSUE_NUMBER is set
- provision-user.yml: only runs when ISSUE_NUMBER is NOT set
- build-ci-image.yml: only runs when ISSUE_NUMBER is NOT set

This prevents build-ci-image from failing on missing registry_password
secret when issue automation triggers.

[ci skip]

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-04-15 17:29:35 +00:00
parent de42acd68e
commit a583b11484
3 changed files with 9 additions and 6 deletions

View file

@ -2,10 +2,11 @@
# Triggers on changes to ci/Dockerfile or manual dispatch.
when:
event: [push, manual]
branch: master
path:
include:
- event: [push, manual]
branch: master
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER == ""'
path:
include:
- 'ci/Dockerfile'
steps:

View file

@ -1,5 +1,6 @@
when:
event: manual
- event: manual
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER != ""'
clone:
git:

View file

@ -1,5 +1,6 @@
when:
event: manual
- event: manual
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER == ""'
clone:
git: