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:
Avielle Wolfe 2023-12-22 11:22:33 +00:00
commit ba13d696d1

View file

@ -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