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

Define workflow rules for security CI jobs

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