Merge branch 'ensure-job-on-branch-only' into 'main'

Run ensure-x-job-added only on branch

See merge request gitlab-components/sast!8
This commit is contained in:
Fabio Pitino 2023-11-09 09:46:06 +00:00
commit 01f964281a

View file

@ -12,6 +12,8 @@ ensure-brakeman-job-added:
if [ "$count" != "1" ]; then
exit 1
fi
rules:
- if: $CI_COMMIT_BRANCH
# Ensure that a project description exists, because it will be important to display
# the resource in the catalog.