Closed fabry22 closed 6 months ago
---
test-job:
script:
- echo "Why on earth am I on_success"
when: manual
rules:
- if: '$GITLAB_CI'
Yup this is a bug. Here is a much simpler example.
For now add a when:manual
to each individual rules entry
Minimal .gitlab-ci.yml illustrating the issue
Expected behavior Apply job must not run without recieving a manual confirmation of the user, i had it applied and build some unwanted infrastructure
Host information Ubuntu 20.04 gitlab-ci-local 4.46.0
Containerd binary I'm using docker
Additional context This issue is related to this other issue, that had the exact same problem. I hope that i provided a most detailed example, but please let me know if you need more help with that. The tool is awesome BTW!