]> granicus.if.org Git - libevent/commitdiff
Do not run CI if message contains "ci skip"
authorAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 10:57:15 +0000 (13:57 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 10:57:15 +0000 (13:57 +0300)
https://github.com/marketplace/actions/skip-based-on-commit-message

.github/workflows/coverage.yml
.github/workflows/doxygen.yml
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/mingw.yml
.github/workflows/windows.yml

index c296e44ee5e9aa24a3cf9930ae30d6bf566de978..7d705e80b2ca887f4cb95a875941692043a7cb83 100644 (file)
@@ -15,6 +15,7 @@ on:
 jobs:
   linux:
     runs-on: ubuntu-16.04
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     steps:
       - uses: actions/checkout@v2.0.0
       - name: Cache
index a03c24100038a02f1e0d61e32f170fdebaeb07f1..c9b2ac82c4afe9baa533287c134830a0a12936e9 100644 (file)
@@ -9,6 +9,7 @@ on:
 jobs:
   Doxygen:
     runs-on: ubuntu-18.04
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
 
index 6b1d0dd465bfe5e3e1e1feecd06fb451e5ebf79b..3d7c19d86762e31e176eb58e22cd5a0860db4d97 100644 (file)
@@ -21,6 +21,7 @@ on:
 jobs:
   cmake:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
@@ -97,6 +98,7 @@ jobs:
 
   autotools:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
index 9363f50ed985fc01b69a6a37377b6a72f48d6a3b..60429779a18393066bff908d52b3142577673110 100644 (file)
@@ -21,6 +21,7 @@ on:
 jobs:
   cmake:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
@@ -100,6 +101,7 @@ jobs:
 
   autotools:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
index 05a793573cf02c3eb807d9f027e965b8a3bb6234..ec937bd7a9825fe171a2a40530cdcda40c35c606 100644 (file)
@@ -21,6 +21,7 @@ on:
 jobs:
   autotools:
     runs-on: windows-2019
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
@@ -89,6 +90,7 @@ jobs:
 
   cmake:
     runs-on: windows-2019
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
index ffea2b12e8c4997879bf48518a68222e24bfae94..8b2712cb641bc717f6d77eb480fb7258ea23e4d3 100644 (file)
@@ -21,6 +21,7 @@ on:
 jobs:
   vs2017:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix:
@@ -123,6 +124,7 @@ jobs:
 
   vs2019:
     runs-on: ${{ matrix.os }}
+    if: "!contains(github.event.head_commit.message, 'ci skip')"
     strategy:
       fail-fast: false
       matrix: