feat(gitlab_release): never run on merge or git tag

as this job creates a release and tag don't run on those pipelines

!21
This commit is contained in:
2023-05-14 11:45:24 +09:30
parent a745ceac5e
commit 199ea1f23c

View File

@ -46,6 +46,10 @@
rules: rules:
- if: '$JOB_STOP_GITLAB_RELEASE' - if: '$JOB_STOP_GITLAB_RELEASE'
when: never when: never
- if: '$CI_COMMIT_TAG'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: "$CI_COMMIT_AUTHOR =='nfc_bot <helpdesk@nofusscomputing.com>'" - if: "$CI_COMMIT_AUTHOR =='nfc_bot <helpdesk@nofusscomputing.com>'"
when: never when: never
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'