diff .github/workflows/ci-test.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 b036e4c8df4d
children 48b76dcbcb86
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Mon Feb 27 01:29:02 2023 -0500
+++ b/.github/workflows/ci-test.yml	Mon Feb 27 01:36:09 2023 -0500
@@ -40,6 +40,8 @@
     # use below if running on multiple OS's.
     runs-on: ${{ matrix.os }}
 
+    if: "!contains(github.event.head_commit.message, 'no-github-ci')"
+
     strategy:
       fail-fast: false
       max-parallel: 4
@@ -263,6 +265,9 @@
   finish:
     needs: test
     runs-on: ubuntu-latest
+
+    if: "!contains(github.event.head_commit.message, 'no-github-ci')"
+    
     steps:
       - name: Coveralls Finished
         uses: coverallsapp/github-action@0363cd28f449b7e5d3b6c6d269d31fe7c1201b68 # master

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