Update README.md to reference updated component path

This commit is contained in:
Mark Nuzzo 2023-12-22 11:19:52 +00:00 committed by Avielle Wolfe
parent a373e2cf13
commit e31763068c

View file

@ -12,7 +12,7 @@ keyword.
```yaml ```yaml
include: include:
- component: gitlab.com/gitlab-components/sast/sast@<VERSION> - component: gitlab.com/components/sast/sast@<VERSION>
``` ```
where `<VERSION>` is the latest released tag or `main`. where `<VERSION>` is the latest released tag or `main`.
@ -21,7 +21,7 @@ If you are converting the configuration to use components and want to leverage t
```yaml ```yaml
include: include:
- component: gitlab.com/gitlab-components/sast/sast@main - component: gitlab.com/components/sast/sast@main
rules: rules:
- if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1"
when: never when: never
@ -48,4 +48,4 @@ This assumes `SAST_DISABLED` variable is already defined in `.gitlab-ci.yml` wit
## 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