Allow manual action only when previous stage completes successfully
I think it would make sense to allow manual jobs only when previous stages completed successfully.
Given the build script:
stages:
- test
- build
- deploy
test:
stage: test
script:
- echo testing
build:
stage: build
script:
- exit 1
deploy:
stage: deploy
script:
- echo deploying
when: manual
I would expect deploy manual job to be unavailable due to failure in previous build stage.