Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit ffe4130

Browse files
authored
optimize workflow
1 parent a8d0732 commit ffe4130

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/java_ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Java CI
22
on:
3-
push: {}
3+
push:
4+
branches: [main]
45
pull_request:
56
branches: [main]
7+
types: [opened, reopened, synchronize]
68

79
jobs:
810
java_ci:
@@ -12,4 +14,4 @@ jobs:
1214
package: true
1315
report: true
1416
secrets:
15-
token: ${{ secrets.BOT }}
17+
token: ${{ secrets.BOT }}

0 commit comments

Comments
 (0)