diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-09-02 12:28:42 +0900 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-09-02 12:40:38 +0900 |
commit | cb7d4340d06e687fd65a4922841f4fb2712b0eee (patch) | |
tree | 22f4936d72c14a834352d360a18bba1dfdabd529 | |
parent | ba99dfcde262c91e33b5bf7f86ba7c0e3b6f7e52 (diff) | |
download | gitlab-ce-cb7d4340d06e687fd65a4922841f4fb2712b0eee.tar.gz |
Run review-docs-cleanup job for gitlab-org repos only
-rw-r--r-- | .gitlab-ci.yml | 5 | ||||
-rw-r--r-- | changelogs/unreleased/50936-docs-run-review-cleanup-only-for-gitlab-org-repos.yml | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23d71675ae4..db1ce3e9054 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -311,10 +311,13 @@ review-docs-cleanup: environment: name: review-docs/$CI_COMMIT_REF_SLUG action: stop - when: manual script: - gem install gitlab --no-ri --no-rdoc - ./$SCRIPT_NAME cleanup + when: manual + only: + - branches@gitlab-org/gitlab-ce + - branches@gitlab-org/gitlab-ee ## # Trigger a docker image build in CNG (Cloud Native GitLab) repository diff --git a/changelogs/unreleased/50936-docs-run-review-cleanup-only-for-gitlab-org-repos.yml b/changelogs/unreleased/50936-docs-run-review-cleanup-only-for-gitlab-org-repos.yml new file mode 100644 index 00000000000..87265506e24 --- /dev/null +++ b/changelogs/unreleased/50936-docs-run-review-cleanup-only-for-gitlab-org-repos.yml @@ -0,0 +1,5 @@ +--- +title: Run review-docs-cleanup job for gitlab-org repos only +merge_request: 21463 +author: Takuya Noguchi +type: other |