Skip to content

Commit f92aef3

Browse files
committed
ci: run push CI only on master to avoid dev->master double-trigger
A push to dev while a dev->master PR is open fired both the push and pull_request workflows, running the ubuntu suite twice. Scope push CI to master (post-merge verification); dev and feature branches are covered by their pull request.
1 parent 62a0d31 commit f92aef3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

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

33
on:
44
workflow_dispatch:
5+
# Push CI runs only on master (post-merge verification). Work on dev and
6+
# feature branches is covered by its pull request, so pushing to dev while a
7+
# PR is open no longer double-triggers the suite.
58
push:
6-
branches: [master, dev]
9+
branches: [master]
710
paths-ignore:
811
- '**.md'
912
- 'LICENSE'

0 commit comments

Comments
 (0)