Skip to content

Commit

Permalink
Run CI action only for branch pushes and pull requests (not tags) (#27)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jgriff authored Sep 21, 2021
1 parent 09b885f commit 4a731c0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 4a731c0

Please sign in to comment.