Mercurial > p > roundup > code
diff .github/workflows/anchore.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/anchore.yml Mon Feb 27 01:29:02 2023 -0500 +++ b/.github/workflows/anchore.yml Mon Feb 27 01:36:09 2023 -0500 @@ -29,6 +29,7 @@ jobs: Anchore-Build-Scan: + if: "!contains(github.event.head_commit.message, 'no-github-ci')" permissions: contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
