Skip to content

Commit c62d41a

Browse files
committed
ci: trigger release on tag push and add contents:write
1 parent 1fe88d1 commit c62d41a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ name: Go CI
33
on:
44
push:
55
branches: [ 001-py-to-go-migration, main ]
6+
tags:
7+
- 'v*'
68
pull_request:
79
branches: [ 001-py-to-go-migration, main ]
810

11+
permissions:
12+
contents: write
13+
914
jobs:
1015
test:
1116
name: 测试

0 commit comments

Comments
 (0)