Run ensure-x-job-added only on branch

This commit is contained in:
Fabio Pitino 2023-11-09 09:43:58 +00:00
parent 1087014f46
commit ed5437cc87

View file

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