Skip to content

Commit 955067f

Browse files
committed
Publish on tags and add write permissions
1 parent d03d91c commit 955067f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Publish package to PyPI and create release
22

33
on:
44
push:
5-
branches: [main]
65
tags:
76
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
87

8+
permissions:
9+
contents: write
10+
911
jobs:
1012
build:
1113
uses: ./.github/workflows/build.yml

0 commit comments

Comments
 (0)