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

Merge branch 'jarv/remove-dry-run' into 'main'

fix: Revert "feat: Adds semantic-release dry-run for .releaserc changes"

See merge request gitlab-com/gl-infra/common-ci-tasks!934
parents 733d3a44 1564f2a4
No related branches found
No related tags found
No related merge requests found
Pipeline #24985092 failed
Loading
Loading
@@ -98,28 +98,6 @@ semantic_release_check:
changes:
- .releaserc.json
 
semantic_release_dry_run:
stage: $[[ inputs.validate_stage ]]
needs: []
image:
name: ${CI_REGISTRY}/gitlab-com/gl-infra/common-ci-tasks-images/semantic-release:latest
entrypoint: [""]
variables:
GITLAB_URL: $CI_SERVER_URL
script:
- semantic-release --dry-run --branches $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
after_script: |
cat <<-EOD
----------------------------------------------------------
Need help? Documentation on the semantic_release CI job can be found at:
https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/blob/main/semantic-release.md
EOD
rules:
# Don't run when the pipeline was triggered by a schedule
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
- .releaserc.json
include:
- local: 'internal/semantic-release/vault.yml'
rules:
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