Select Git revision
README-sudorule.md
-
Rafael Guterres Jeffman authored
This patch allows the removal of option `all` from user, host, group, runasuser, and runasgroup categories, by allowing an empty string as a valid choice for each option.
Rafael Guterres Jeffman authoredThis patch allows the removal of option `all` from user, host, group, runasuser, and runasgroup categories, by allowing an empty string as a valid choice for each option.
Release-Latest.gitlab-ci.yml 1.22 KiB
include:
- project: 'tools/continuous-integration/auto-devops/defaults'
file: 'Defaults.gitlab-ci.yml'
ref: main
##########################################################################################################
### CHANGE RULES
test:
rules:
- if: '$TEST_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
code_quality:
rules:
- if: '$CODE_QUALITY_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
container_scanning:
rules:
- if: '$CONTAINER_SCANNING_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
secret_detection:
rules:
- if: '$SECRET_DETECTION_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
semgrep-sast:
rules:
- if: $SAST_DISABLED == 'true' || $SAST_DISABLED == '1'
when: never
- if: $SAST_EXCLUDED_ANALYZERS =~ /semgrep/
when: never
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
exists:
- '**/*.py'
- '**/*.js'
- '**/*.jsx'
- '**/*.ts'
- '**/*.tsx'
- '**/*.c'
- '**/*.go'
- '**/*.java'
- '**/*.cs'
- '**/*.html'
- '**/*.scala'
- '**/*.sc'