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:
parent
de42acd68e
commit
a583b11484
3 changed files with 9 additions and 6 deletions
|
|
@ -2,10 +2,11 @@
|
||||||
# Triggers on changes to ci/Dockerfile or manual dispatch.
|
# Triggers on changes to ci/Dockerfile or manual dispatch.
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, manual]
|
- event: [push, manual]
|
||||||
branch: master
|
branch: master
|
||||||
path:
|
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER == ""'
|
||||||
include:
|
path:
|
||||||
|
include:
|
||||||
- 'ci/Dockerfile'
|
- 'ci/Dockerfile'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
when:
|
when:
|
||||||
event: manual
|
- event: manual
|
||||||
|
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER != ""'
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
when:
|
when:
|
||||||
event: manual
|
- event: manual
|
||||||
|
evaluate: 'CI_PIPELINE_VARIABLE_ISSUE_NUMBER == ""'
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue