Skip to content

Commit a2fa689

Browse files
azuclaude
andauthored
ci: improve workflow triggers to prevent duplicate runs (#163)
- Limit push events to master branch only - Keep pull_request events for all branches - This prevents duplicate workflow runs when PRs are created from repository branches Fixes #162 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 1017ef6 commit a2fa689

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: test
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
37
jobs:
48
test:
59
name: "Test on Node.js ${{ matrix.node-version }} ${{ matrix.os }}"

0 commit comments

Comments
 (0)