diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-07-31 21:34:27 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-07-31 21:34:27 +0300 |
commit | 875986077e244eb900670165e0db4b5cfaf77863 (patch) | |
tree | 8a6b559781b762ad5a13b685432e0550ee7ef226 | |
parent | 6888fede7d652ad742c1b5b8d2681a73e624a8fb (diff) |
Skip Danger when MR is from a fork
Danger review could break when created from forks, and right now there's
no way around that, than just to ignore the job when triggered from
forks.
Thanks @nick.thomas for spotting in
https://gitlab.com/nick.thomas/gitaly/-/jobs/85757498
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d943a322..a92952f77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ verify: danger-review: image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger stage: build + only: + - branches@gitlab-org/gitaly except: - tags - master |