Docs feedback: ci.yaml when: never doesn't exist
Docs:
when
Use when to configure the conditions for when jobs run. If not defined in a job, the default value is when: on_success.
Keyword type: Job keyword. You can use it only as part of a job.
Possible inputs:
on_success (default): Run the job only when all jobs in earlier stages succeed or have allow_failure: true.
manual: Run the job only when triggered manually.
always: Run the job regardless of the status of jobs in earlier stages.
on_failure: Run the job only when at least one job in an earlier stage fails.
delayed: Delay the execution of a job for a specified duration.
***never: Don’t run the job.***
Reality (14.7.0-ee; didn't see any relevant mentions in release notes since then):
Found errors in your .gitlab-ci.yml:
jobs:prod-ph when should be one of: on_success
on_failure
always
manual
delayed
You can also test your .gitlab-ci.yml in CI Lint
Where'd never magically disappear to?
Edited by 🤖 GitLab Bot 🤖
