mirror of
https://gitlab.com/components/sast.git
synced 2025-06-30 07:28:29 +02:00
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:
commit
7068da1da1
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue