Commit 5d35e62c authored by Lukas Eipert's avatar Lukas Eipert

Do not run package hunter if credentials are missing

We run package hunter as part of gitlab-org and renovate. In order to
prevent the job from running on other forks that haven't set it up, we
check for the existance of PACKAGE_HUNTER_USER.
parent 00978bf7
......@@ -1059,6 +1059,8 @@
.reports:rules:package_hunter:
rules:
- if: "$PACKAGE_HUNTER_USER == null || $PACKAGE_HUNTER_USER == ''"
when: never
- <<: *if-default-branch-schedule-2-hourly
- <<: *if-merge-request
changes: ["yarn.lock"]
......
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