forked from osmocom/wireshark
GitLab CI: Restore the ability to run pipelines from the web UI.
(cherry picked from commit bedf0eb21c
)
This commit is contained in:
parent
219978c50d
commit
c1cf92283c
|
@ -24,10 +24,12 @@ variables:
|
|||
# https://gitlab.com/gitlab-org/gitlab/-/issues/322992
|
||||
#
|
||||
# Commits that have been approved and merged. Run automatically in the main
|
||||
# repo and allow manual runs in forks.
|
||||
# repo and allow manual runs in the web UI and in forks.
|
||||
.if-merged:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/'
|
||||
when: always
|
||||
- if: '$CI_PIPELINE_SOURCE == "web"'
|
||||
when: always
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL !~ /.*gitlab.com\/wireshark\/wireshark/'
|
||||
when: manual
|
||||
# Incoming merge requests.
|
||||
|
|
Loading…
Reference in New Issue