Commit d02e6d98 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Do not run bundle-size-review for forks

bundle-size-review depends on compile-production-assets,
which does not run for forks. This will make it consistent,
otherwise the pipeline is invalid.
parent 08187218
......@@ -446,6 +446,8 @@
.frontend:rules:bundle-size-review:
rules:
- <<: *if-not-canonical-namespace
when: never
- if: '$DANGER_GITLAB_API_TOKEN && $CI_MERGE_REQUEST_IID && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main")'
changes: *frontend-patterns
allow_failure: true
......
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