Skip to content

Commit 9da87fe

Browse files
committed
chore(ci): deduplicate CI runs
We don't need to run CI on every push to any branch _and_ PRs targetting master. This change ensures that the following are targetted: - New commits to `master` - PRs targetting `master` Specifically, commits to new branches are _not_ tested unless they are part of a PR. Lastly, removed the `9.x.x` mention as this does not appear to be a branch that exists. Signed-off-by: JP-Ellis <josh@jpellis.me>
1 parent 19d96e7 commit 9da87fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Build, test, test all examples
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request:
6-
branches: [master, 9.x.x]
8+
branches:
9+
- master
710
workflow_dispatch:
811

912
env:

0 commit comments

Comments
 (0)