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 3fa5d04e66
3 changed files with 3 additions and 3 deletions

View file

@ -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]

View file

@ -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