diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc5d474..868dad6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ include: - - component: gitlab.com/$CI_PROJECT_PATH@$CI_COMMIT_SHA + - component: gitlab.com/$CI_PROJECT_PATH/all-jobs@$CI_COMMIT_SHA stages: [test, release] diff --git a/README.md b/README.md index aba8d4d..795683c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ keyword. ```yaml include: - - component: gitlab.com/gitlab-components/sast@ + - component: gitlab.com/gitlab-components/sast/all-jobs@ ``` where `` 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 include: - - component: gitlab.com/gitlab-components/sast@main + - component: gitlab.com/gitlab-components/sast/all-jobs@main rules: - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" when: never diff --git a/template.yml b/templates/all-jobs.yml similarity index 100% rename from template.yml rename to templates/all-jobs.yml