Skip to content

Commit e1df24d

Browse files
authored
fix: ci 触发时机调整 (#1692)
1 parent 10c394c commit e1df24d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ on:
33
# When Release Pull Request is merged
44
push:
55
branches:
6-
- next
6+
- 'chore/**'
7+
- 'feat/**'
78
pull_request:
89
branches:
910
- next
@@ -13,12 +14,13 @@ env:
1314
CI: true
1415
jobs:
1516
publish:
17+
permissions:
18+
contents: write # to create tags and refs
19+
actions: write # to cancel running workflow (andymckay/cancel-action)
20+
issues: write # to create comment
21+
1622
name: publish
1723
runs-on: ubuntu-latest
18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
node-version: [16.x]
2224

2325
steps:
2426
# Setup

0 commit comments

Comments
 (0)