Skip to content

Commit ed3833c

Browse files
committed
ci: simplify workflow trigger configuration
Remove redundant branch specifications and use simpler syntax for push and pull_request triggers
1 parent 5649288 commit ed3833c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/code-review.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: 代码格式验证
22

33
on:
4-
push:
5-
branches: [ '**' ]
6-
pull_request:
7-
branches: [ '**' ]
8-
4+
- push
5+
- pull_request
96
jobs:
107
code-review:
118
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)