Skip to content
代码片段 群组 项目
提交 1b6da695 编辑于 作者: Marcel Amirault's avatar Marcel Amirault
浏览文件

Merge branch 'improve-ciconfigfile-rule' into 'master'

Improve Vale's CIConfigFile rule to catch previous false negatives

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/118426



Merged-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Approved-by: default avatarRussell Dickenson <rdickenson@gitlab.com>
Approved-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Co-authored-by: default avatarJonston Chan <jonstonchan1@gmail.com>
No related branches found
No related tags found
无相关合并请求
...@@ -10,8 +10,4 @@ link: https://docs.gitlab.com/ee/development/documentation/versions.html ...@@ -10,8 +10,4 @@ link: https://docs.gitlab.com/ee/development/documentation/versions.html
level: error level: error
scope: raw scope: raw
raw: raw:
- '(`gitlab-ci.yml`|' - '(?!`\.gitlab-ci\.yml`)`.?gitlab.?ci.?ya?ml`'
- '`gitlabci.yml`|'
- '`gitlab.ci.yml`|'
- '`.gitlab.ci-yml`|'
- '`.gitlab-ci.yaml`)'
...@@ -80,7 +80,7 @@ To enable DAST to run automatically, either: ...@@ -80,7 +80,7 @@ To enable DAST to run automatically, either:
- Enable [Auto DAST](../../../topics/autodevops/stages.md#auto-dast) (provided - Enable [Auto DAST](../../../topics/autodevops/stages.md#auto-dast) (provided
by [Auto DevOps](../../../topics/autodevops/index.md)). by [Auto DevOps](../../../topics/autodevops/index.md)).
- [Edit the `.gitlab.ci.yml` file manually](#edit-the-gitlab-ciyml-file-manually). - [Edit the `.gitlab-ci.yml` file manually](#edit-the-gitlab-ciyml-file-manually).
- [Configure DAST using the UI](#configure-dast-using-the-ui). - [Configure DAST using the UI](#configure-dast-using-the-ui).
#### Edit the `.gitlab-ci.yml` file manually #### Edit the `.gitlab-ci.yml` file manually
......
...@@ -144,7 +144,7 @@ To enable Secret Detection, either: ...@@ -144,7 +144,7 @@ To enable Secret Detection, either:
- Enable [Auto DevOps](../../../topics/autodevops/index.md), which includes [Auto Secret Detection](../../../topics/autodevops/stages.md#auto-secret-detection). - Enable [Auto DevOps](../../../topics/autodevops/index.md), which includes [Auto Secret Detection](../../../topics/autodevops/stages.md#auto-secret-detection).
- [Edit the `.gitlab.ci.yml` file manually](#edit-the-gitlab-ciyml-file-manually). Use this method - [Edit the `.gitlab-ci.yml` file manually](#edit-the-gitlab-ciyml-file-manually). Use this method
if your `.gitlab-ci.yml` file is complex. if your `.gitlab-ci.yml` file is complex.
- [Use an automatically configured merge request](#use-an-automatically-configured-merge-request). - [Use an automatically configured merge request](#use-an-automatically-configured-merge-request).
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册