]> jfr.im git - yt-dlp.git/commitdiff
[CI] Option to skip
authorpukkandan <redacted>
Mon, 11 Jan 2021 17:47:15 +0000 (23:17 +0530)
committerpukkandan <redacted>
Mon, 11 Jan 2021 17:48:56 +0000 (23:18 +0530)
:skip ci all

.github/workflows/ci.yml
.github/workflows/quick-test.yml

index 0a2b7a70b794c940575b0c51c804c1d30ebe8cca..a01adb15f82085e3153bc405ae6c881e16c8f482 100644 (file)
@@ -3,6 +3,7 @@ on: [push]
 jobs:
   tests:
     name: Tests
+    if: "!contains(github.event.head_commit.message, 'skip ci')"
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: true
index cd1e799303b86c979f82cd29204079d78803b0ef..564b9daf45cee169485fab787e744c29ebc6891e 100644 (file)
@@ -3,6 +3,7 @@ on: [push]
 jobs:
   tests:
     name: Core Tests
+    if: "!contains(github.event.head_commit.message, 'skip ci all')"
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
@@ -18,6 +19,7 @@ jobs:
       run: ./devscripts/run_tests.sh
   flake8:
     name: Linter
+    if: "!contains(github.event.head_commit.message, 'skip ci all')"
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2