Skip to content
Snippets Groups Projects
Commit 4d3d3ac4ecf2 authored by Balasankar 'Balu' C's avatar Balasankar 'Balu' C
Browse files

Run issue-bot in protected and nightly pipelines

Adds issue-bot to protected and nightly pipelines for visibility when
the jobs fail.

Related https://gitlab.com/gitlab-org/distribution/team-tasks/-/issues/980



Signed-off-by: default avatarBalasankar 'Balu' C <balasankar@gitlab.com>
parent ad4c3307314a
No related branches found
No related tags found
2 merge requests!153heptapod#1722: making 17.3 the new stable,!152Merge upstream Omnibus GitLab into Omnibus Heptapod
......@@ -190,5 +190,9 @@
image: registry.gitlab.com/gitlab-org/distribution/issue-bot:latest
script: /issue-bot
rules:
- if: '$CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH'
# Not needed in non-protected (feature) branches
- if: '$CI_COMMIT_REF_PROTECTED != "true"'
when: never
# Not needed in omnibus-gitlab-mirror
- if: '$CI_PROJECT_PATH == $QA_PROJECT_PATH'
when: never
......@@ -194,3 +198,7 @@
when: never
- if: '$PIPELINE_TYPE == "PROTECTED_TEST_PIPELINE"'
when: on_failure
# The remaining scenarios are all important pipelines we want to be
# notified about
# 0. Tags
# 1. Master branch - includes scheduled pipelines also
# 2. Stable branches
- when: always
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