mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
citempalte: fix string comparitson in rules
When quoting in rules it takes the string as literal and doesn't expand the variable Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/353>
This commit is contained in:
parent
ab8e884e1b
commit
8c066ec01f
1 changed files with 2 additions and 2 deletions
|
@ -331,14 +331,14 @@ manifest:
|
||||||
|
|
||||||
# If the user that triggered the Pipeline is the Merge bot and the branch doesn't match
|
# If the user that triggered the Pipeline is the Merge bot and the branch doesn't match
|
||||||
# the upstream branch set, run the pipeline
|
# the upstream branch set, run the pipeline
|
||||||
- if: '$GITLAB_USER_LOGIN == "gstreamer-merge-bot" && $CI_COMMIT_BRANCH != "$GST_UPSTREAM_BRANCH"'
|
- if: '$GITLAB_USER_LOGIN == "gstreamer-merge-bot" && $CI_COMMIT_BRANCH != $GST_UPSTREAM_BRANCH'
|
||||||
# When the user isn't the merge bot, require an explicit action to trigger the pipeline
|
# When the user isn't the merge bot, require an explicit action to trigger the pipeline
|
||||||
# to avoid wasting CI resources
|
# to avoid wasting CI resources
|
||||||
- if: '$GITLAB_USER_LOGIN != "gstreamer-merge-bot"'
|
- if: '$GITLAB_USER_LOGIN != "gstreamer-merge-bot"'
|
||||||
when: 'manual'
|
when: 'manual'
|
||||||
# If this matches, it means the pipeline is running against either the main
|
# If this matches, it means the pipeline is running against either the main
|
||||||
# or a stable branch, so make it manual
|
# or a stable branch, so make it manual
|
||||||
- if: '$CI_COMMIT_BRANCH == "$GST_UPSTREAM_BRANCH"'
|
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
||||||
when: 'manual'
|
when: 'manual'
|
||||||
|
|
||||||
stage: 'preparation'
|
stage: 'preparation'
|
||||||
|
|
Loading…
Reference in a new issue