Skip to content

Commit

Permalink
build: adjust workflow's trigger events
Browse files Browse the repository at this point in the history
限制工作流触发条件避免其他分支更改反复运行
  • Loading branch information
ZoruaFox committed Dec 23, 2024
1 parent cf0a2b1 commit 4d6a55d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Test

on:
[pull_request,push]
push:
branches:
- 'main'
pull_request:
types: [opened, reopened]

jobs:
deploy:
Expand Down

0 comments on commit 4d6a55d

Please sign in to comment.