Mercurial > p > roundup > code
comparison .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 |
comparison
equal
deleted
inserted
replaced
| 7193:e621c0da09c2 | 7194:8dc5b3739367 |
|---|---|
| 19 | 19 |
| 20 jobs: | 20 jobs: |
| 21 analysis: | 21 analysis: |
| 22 name: Scorecard analysis | 22 name: Scorecard analysis |
| 23 runs-on: ubuntu-latest | 23 runs-on: ubuntu-latest |
| 24 | |
| 25 if: "!contains(github.event.head_commit.message, 'no-github-ci')" | |
| 26 | |
| 24 permissions: | 27 permissions: |
| 25 # Needed to upload the results to code-scanning dashboard. | 28 # Needed to upload the results to code-scanning dashboard. |
| 26 security-events: write | 29 security-events: write |
| 27 # Needed to publish results and get a badge (see publish_results below). | 30 # Needed to publish results and get a badge (see publish_results below). |
| 28 id-token: write | 31 id-token: write |
