summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-02-16 03:33:51 -0700
committerGitHub <noreply@github.com>2020-02-16 03:33:51 -0700
commitd348ea034fb2e46faa3e630c744e3be9707ea333 (patch)
treec4ee016f7764a7f837c43f1ae53d98aa2d234851
parent6556af3c0ad06baccb4bce0dbac9ef431800542f (diff)
add support for [skip ci] hint to GitHub Actions (PR #1559)
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0c02153a..c43aedcf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,7 +1,13 @@
name: CI
on: [push, pull_request]
jobs:
+ activate:
+ runs-on: ubuntu-latest
+ if: "! endsWith(github.event.head_commit.message, '[skip ci]')"
+ steps:
+ - run: echo ok go
build:
+ needs: activate
runs-on: windows-latest
strategy:
matrix: