diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 342f246..9b0fc0c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,8 @@ security-scan: stage: scan tags: - linux-maven + only: + - master script: - echo "=============== 开始安全扫描任务 ===============" - $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -proj "" -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json