Skip to content
代码片段 群组 项目
提交 14193cf3 编辑于 作者: Nick Malcolm's avatar Nick Malcolm 提交者: Rémy Coutable
浏览文件

Trigger depSASTer downstream when Gemfile.checksum changes

上级 92119f3a
No related branches found
No related tags found
无相关合并请求
...@@ -2104,6 +2104,17 @@ ...@@ -2104,6 +2104,17 @@
- <<: *if-merge-request - <<: *if-merge-request
changes: *static-analysis-patterns changes: *static-analysis-patterns
.static-analysis:rules:trigger-depsaster:
rules:
- if: $ENABLE_DEPSASTER != 'true'
when: never
- <<: *if-fork-merge-request
when: never
- <<: *if-not-ee
when: never
- <<: *if-merge-request
changes: ["**/Gemfile.checksum"]
.semgrep-appsec-custom-rules:rules: .semgrep-appsec-custom-rules:rules:
rules: rules:
- <<: *if-not-ee - <<: *if-not-ee
......
...@@ -217,3 +217,13 @@ ping-appsec-for-sast-findings: ...@@ -217,3 +217,13 @@ ping-appsec-for-sast-findings:
script: script:
- apk add jq curl - apk add jq curl
- scripts/process_custom_semgrep_results.sh - scripts/process_custom_semgrep_results.sh
trigger-depsaster:
extends: .static-analysis:rules:trigger-depsaster
stage: lint
variables:
MERGE_REQUEST_PROJECT_ID: $CI_MERGE_REQUEST_PROJECT_ID
MERGE_REQUEST_IID: $CI_MERGE_REQUEST_IID
trigger:
project: "gitlab-com/gl-security/appsec/tooling/depsaster"
allow_failure: true
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册