Skip to content

Commit 2c5e010

Browse files
Copilothsluoyz
andauthored
feat: fix duplicate CI runs on pull requests (#83)
* Initial plan * Fix CI duplicate checks by restricting push triggers to master branch Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
1 parent ac3d05e commit 2c5e010

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: main
2-
on: [push, pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37
jobs:
48
test:
59
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)