Merge branch 'sast-20231220_updates' into 'main'

Update README.md to reference updated component path

See merge request components/sast!2
This commit is contained in:
Avielle Wolfe 2023-12-22 11:19:53 +00:00
commit 7068da1da1

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