Is there a way to end a CI job with success early only if a condition is true using this type of script syntax:
job:
script:
- if [[ condition here ]] ; then <succesfully-stop-ci-job-here> ; fi
- continue with other actions...
Obviously, this logic could be encapsulated in a shell script – but it’s a very simple logic and I’d rather, if possible, leave it in the explicitly enumerate list format underneath script (as opposed to inside a shell script).