Implement .pipeline-policy-pre stage dependency for all jobs
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
With #469256 (closed) we want to prevent jobs with needs: [] from running before the .pipeline-policy-pre stage is complete. A use case for this is to create a compliance check job that runs first and if it fails, fail the pipeline. To support this we can introduce a workflow rule to cancel all other jobs like this:
workflow:
auto_cancel:
on_pipeline_execution_policy_job_failure: all
Edited by 🤖 GitLab Bot 🤖