Skip to content

Commit c754830

Browse files
committed
Publish on tags and add write permissions
1 parent ee9d1d1 commit c754830

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.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)