mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-06-30 07:28:30 +02:00
Merge branch 'secretdetection-20231220_updates' into 'main'
Update README.md to reference updated component path See merge request components/secret-detection!2
This commit is contained in:
commit
ba13d696d1
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ keyword.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/gitlab-components/secret-detection/secret-detection@<VERSION>
|
- component: gitlab.com/components/secret-detection/secret-detection@<VERSION>
|
||||||
```
|
```
|
||||||
|
|
||||||
where `<VERSION>` is the latest released tag or `main`.
|
where `<VERSION>` is the latest released tag or `main`.
|
||||||
|
@ -24,7 +24,7 @@ If you are converting the configuration to use components and want to leverage t
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/gitlab-components/secret-detection/secret-detection@main
|
- component: gitlab.com/components/secret-detection/secret-detection@main
|
||||||
rules:
|
rules:
|
||||||
- if: $SECRET_DETECTION_DISABLED == "true" || $SECRET_DETECTION_DISABLED == "1"
|
- if: $SECRET_DETECTION_DISABLED == "true" || $SECRET_DETECTION_DISABLED == "1"
|
||||||
when: never
|
when: never
|
||||||
|
@ -55,4 +55,4 @@ You can customize secret detection by defining the following CI/CD variables:
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
Please read about CI/CD components and best practices at: https://docs.gitlab.com/ee/ci/components
|
Please read about CI/CD components and best practices at: https://docs.gitlab.com/ee/ci/components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue