remove workflow rules

I don't think these are actually necessary? At least in my own testing,
I haven't seen duplicate pipelines for a single commit when converting
from just a branch to a merge request.
merge-requests/594/head
Charles Hall 5 months ago
parent 9d592d60d2
commit ffd03a256b
No known key found for this signature in database
GPG Key ID: 7B8E0645816E07CF

@ -173,13 +173,3 @@ test:audit:
when: always
reports:
sast: gl-sast-report.json
# Avoid duplicate pipelines
# See: https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS"
when: never
- if: "$CI_COMMIT_BRANCH"
- if: "$CI_COMMIT_TAG"

Loading…
Cancel
Save