feat: remove gitlab ci stage input and run job as soon as possible

- Remove the stage input, users can override the `releaser-pleaser` job if needed.
- Run the `releaser-pleaser` job as soon as possible using `needs: []`.
This commit is contained in:
jo 2024-11-05 16:16:18 +01:00
parent 8493c5a625
commit cf3ac3c42d
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
3 changed files with 17 additions and 8 deletions

View file

@ -12,14 +12,12 @@ spec:
description: 'List of files that are scanned for version references.'
default: ""
stage:
default: build
description: 'Defines the build stage'
# Remember to update docs/reference/gitlab-ci-component.md
---
releaser-pleaser:
stage: $[[ inputs.stage ]]
stage: build
needs: []
rules:
# There is no way to run a pipeline when the MR description is updated :(
- if: $CI_COMMIT_BRANCH == "$[[ inputs.branch ]]"