Commit 53c2d3b3 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Adopt `rules` for review-deploy as well

parent 997fbf95
......@@ -116,7 +116,6 @@ schedule:review-build-cng:
extends:
- .default-tags
- .default-retry
- .default-only
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
dependencies: []
variables:
......@@ -156,10 +155,11 @@ schedule:review-build-cng:
when: always
review-deploy:
extends:
- .review-deploy-base
- .only-review
- .only:changes-code-qa
extends: .review-deploy-base
rules:
- <<: *if-canonical-gitlab-and-merge-request
changes: *code-qa-patterns
when: on_success
schedule:review-deploy:
extends:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment