-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
24 lines (23 loc) · 954 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# set appsec-related template variables
variables:
WM_APPSEC_GOLANG_IMAGE: "bookworm:20231015"
include:
- local: ".gitlab/pipelines/commit.yml"
rules:
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event' || $CI_PIPELINE_SOURCE == 'push'"
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
- template: Security/Secret-Detection.gitlab-ci.yml
rules:
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event' || $CI_PIPELINE_SOURCE == 'push'"
- template: Security/SAST.gitlab-ci.yml
rules:
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event' || $CI_PIPELINE_SOURCE == 'push'"
- local: ".gitlab/pipelines/weekly.yml"
rules:
- if: "$GITLAB_SCHEDULE == 'weekly'"
- local: ".gitlab/pipelines/dependabot.yml"
rules:
- if: "$GITLAB_SCHEDULE == 'dependabot'"
- project: 'repos/security/gitlab-ci-security-templates'
ref: 0.1.3
file: 'golang-gosec/golang-gosec-ci.yml'