mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-06-30 07:28:30 +02:00
Merge branch 'migrate-to-new-dir-structure' into 'main'
Migrate to new directory structure See merge request gitlab-components/secret-detection!3
This commit is contained in:
commit
3fa5d04e66
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
include:
|
include:
|
||||||
component: gitlab.com/$CI_PROJECT_PATH@$CI_COMMIT_SHA
|
component: gitlab.com/$CI_PROJECT_PATH/job@$CI_COMMIT_SHA
|
||||||
|
|
||||||
stages: [test, release]
|
stages: [test, release]
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ keyword.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/gitlab-components/secret-detection@<VERSION>
|
- component: gitlab.com/gitlab-components/secret-detection/job@<VERSION>
|
||||||
```
|
```
|
||||||
|
|
||||||
where `<VERSION>` is the latest released tag or `main`.
|
where `<VERSION>` is the latest released tag or `main`.
|
||||||
|
@ -22,7 +22,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@main
|
- component: gitlab.com/gitlab-components/secret-detection/job@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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue