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:
Fabio Pitino 2023-11-09 09:20:27 +00:00
commit b45ae5d1d3
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
include:
component: gitlab.com/$CI_PROJECT_PATH@$CI_COMMIT_SHA
component: gitlab.com/$CI_PROJECT_PATH/job@$CI_COMMIT_SHA
stages: [test, release]

View file

@ -13,7 +13,7 @@ keyword.
```yaml
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`.
@ -22,7 +22,7 @@ If you are converting the configuration to use components and want to leverage t
```yaml
include:
- component: gitlab.com/gitlab-components/secret-detection@main
- component: gitlab.com/gitlab-components/secret-detection/job@main
rules:
- if: $SECRET_DETECTION_DISABLED == "true" || $SECRET_DETECTION_DISABLED == "1"
when: never