diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2020-11-10 10:29:23 +0300 |
|---|---|---|
| committer | Marat Radchenko <marat@slonopotamus.org> | 2020-11-10 10:29:23 +0300 |
| commit | 8a9238035c6c7b1a0a754bce404df4cdf3784926 (patch) | |
| tree | 46e5fa1fd6edee1ce85d58eac46ba19479e085a0 /.github/workflows | |
| parent | 3db106351a235724dfdfff364683564d57b263aa (diff) | |
skip ci if [skip ci] is present in commit message
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1094c5d..20e92d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,14 @@ name: CI on: [push, pull_request] jobs: + activate: + runs-on: ubuntu-latest + if: "!endsWith(github.event.head_commit.message, '[skip ci]')" + steps: + - name: Proceed + run: echo ok go lint: + needs: activate runs-on: ubuntu-latest steps: - name: Checkout @@ -15,6 +22,7 @@ jobs: - name: Lint run: bundle exec rake lint test: + needs: activate strategy: matrix: ruby: [jruby, 2.3, 2.4, 2.5, 2.6, 2.7] |
