From 4a731c0d7158f17ac77dd79b10b43e36aef1da01 Mon Sep 17 00:00:00 2001 From: Justin Griffin Date: Tue, 21 Sep 2021 15:09:47 -0400 Subject: [PATCH] Run CI action only for branch pushes and pull requests (not tags) (#27) Limited the `on.push` event to not also trigger for tags, as the `release.yml` pipeline handles those events and we don't need/want to trigger the CI pipeline for a release build. --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbd1066..0ec5ce2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,14 @@ name: CI -on: [push, pull_request] +on: + pull_request: + branches: + - '*' + push: + branches: + - '*' + tags-ignore: + - '*' # ignore all tags, our 'release' action triggers on tags + jobs: test: