Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-06-01 03:07:26 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-06-01 03:07:35 +0300
commit6c0d3c8e892e7009a1dfa811a50c60e321c72f24 (patch)
treefda2906d2b6bed2cd35f6cf025bce33a49d708a2 /.gitlab-ci.yml
parent47c305524c15d8e556b515538e7b7d996c01abac (diff)
Disable eslint-sast
`eslint-sast` was picked up because we have some `.html` files but they are used for testing only. Closes https://gitlab.com/gitlab-org/gitlab-pages/-/issues/400.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82878f16..99875ecc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,6 +60,11 @@ license_scanning:
- if: $CI_COMMIT_BRANCH == 'master'
when: on_success
+# disable eslint-sast since html files are fixtures for testing
+eslint-sast:
+ rules:
+ - when: never
+
secrets-sast:
stage: prepare
rules: