Skip to content
Snippets Groups Projects
Commit 45f5d3aa authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

Merge branch 'fix-if-event-for-semantic-release' into 'main'

ci: fix the semantic releases when clause to work on default branches only

See merge request gitlab-com/gl-infra/common-ci-tasks!4
parents 40498b7a 1d2c5d69
No related branches found
No related tags found
No related merge requests found
Pipeline #13562216 passed
Loading
Loading
@@ -7,7 +7,7 @@ semantic_release:
stage: release
image: node:16
rules:
- if: '$CI_PIPELINE_SOURCE == $CI_COMMIT_BRANCH'
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
variables:
GITLAB_URL: $CI_SERVER_URL
before_script:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment