From 5fa37b591338ba262b1285f3678dea4f91e11e33 Mon Sep 17 00:00:00 2001 From: sct Date: Sat, 12 Dec 2020 11:59:15 +0000 Subject: [PATCH] ci: add the ability to skip ci with commit message [skip ci] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72c64854c..5629d4533 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: build_and_push: name: Build and push Docker image to Docker Hub needs: test - if: github.ref == 'refs/heads/develop' + if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, 'skip ci') runs-on: ubuntu-latest steps: - name: checkout