GitLab CI: Restore the ability to run pipelines from the web UI.
This commit is contained in:
parent
ae37347103
commit
bedf0eb21c
|
@ -42,10 +42,12 @@ variables:
|
||||||
# https://gitlab.com/gitlab-org/gitlab/-/issues/322992
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/322992
|
||||||
|
|
||||||
# Commits that have been approved and merged. Run automatically in the main
|
# 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-merged:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/'
|
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/'
|
||||||
when: always
|
when: always
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "web"'
|
||||||
|
when: always
|
||||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL !~ /.*gitlab.com\/wireshark\/wireshark/'
|
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL !~ /.*gitlab.com\/wireshark\/wireshark/'
|
||||||
when: manual
|
when: manual
|
||||||
# Incoming merge requests.
|
# Incoming merge requests.
|
||||||
|
|
Loading…
Reference in New Issue