diff .github/workflows/ossf-scorecard.yml @ 7194:8dc5b3739367

Prevent github actions from running if commit includes 'no-github-ci' I'm geting tired of cancelling the github actions while trying to get travis-ci working.
author John Rouillard <rouilj@ieee.org>
date Mon, 27 Feb 2023 01:36:09 -0500
parents fcf7e210a0f9
children a81f3750a14a
line wrap: on
line diff
--- a/.github/workflows/ossf-scorecard.yml	Mon Feb 27 01:29:02 2023 -0500
+++ b/.github/workflows/ossf-scorecard.yml	Mon Feb 27 01:36:09 2023 -0500
@@ -21,6 +21,9 @@
   analysis:
     name: Scorecard analysis
     runs-on: ubuntu-latest
+
+    if: "!contains(github.event.head_commit.message, 'no-github-ci')"
+
     permissions:
       # Needed to upload the results to code-scanning dashboard.
       security-events: write

Roundup Issue Tracker: http://roundup-tracker.org/