[Git][NTPsec/ntpsec][master] CI: Run Coverity job only when COVERITY_TOKEN set

Matt Selsky (@selsky) gitlab at mg.gitlab.com
Tue Mar 11 00:16:53 UTC 2025



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
2a9ebc1a by James Browning at 2025-03-10T11:52:16-07:00
CI: Run Coverity job only when COVERITY_TOKEN set

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -359,7 +359,9 @@ coverity-scan:
   tags:
     - gitlab-org
   rules:
-    - if: '$CI_COMMIT_BRANCH && $CI_PROJECT_PATH == "NTPsec/ntpsec"'
+    - if: $COVERITY_TOKEN =~ "^$"
+      when: never
+    - when: always
 
 macos-basic:
   <<: *job_definition



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/2a9ebc1af085106420f8dee214570b0909dc4489

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/2a9ebc1af085106420f8dee214570b0909dc4489
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250311/cb4ee7a2/attachment.htm>


More information about the vc mailing list