Commit 1832db54 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'docs-migrate-secure-integration-doc-example-to-rules-syntax' into 'master'

Docs: Migrate secure integration doc to rules

See merge request gitlab-org/gitlab!35782
parents 64b0213f 17cb7d21
...@@ -100,13 +100,12 @@ the project repository contains Java source code and the `dependency_scanning` f ...@@ -100,13 +100,12 @@ the project repository contains Java source code and the `dependency_scanning` f
```yaml ```yaml
mysec_dependency_scanning: mysec_dependency_scanning:
except: rules:
variables: - if: $DEPENDENCY_SCANNING_DISABLED
- $DEPENDENCY_SCANNING_DISABLED when: never
only: - if: $GITLAB_FEATURES =~ /\bdependency_scanning\b/
variables: exists:
- $GITLAB_FEATURES =~ /\bdependency_scanning\b/ && - '**/*.java'
$CI_PROJECT_REPOSITORY_LANGUAGES =~ /\bjava\b/
``` ```
Any additional job policy should only be configured by users based on their needs. Any additional job policy should only be configured by users based on their needs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment