Commit 57fb5828 authored by Michael Henriksen's avatar Michael Henriksen

Define workflow rules for security CI jobs

parent c9f95598
workflow:
rules:
rules: &workflow_rules
# For merge requests, create a pipeline.
- if: '$CI_MERGE_REQUEST_IID'
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
......@@ -64,6 +64,13 @@ gosec-sast:
before_script:
- apk add make
- make install
rules: *workflow_rules
dependency_scanning:
rules: *workflow_rules
secret_detection:
rules: *workflow_rules
code_navigation:
image: golang:latest
......
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