Skip to content

Commit b9d49d6

Browse files
Merge pull request #50 from camail-official/feature/publish2
add permssions
2 parents 3644674 + 9e3c0fa commit b9d49d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: Publish to PyPI
1+
name:
2+
Publish to PyPI
23

3-
#TODO: only publish on main branch
4+
#TODO: only publish on main branch
45
on:
56
push:
67
tags:
@@ -13,6 +14,7 @@ jobs:
1314
environment: pypi
1415
permissions:
1516
id-token: write
17+
contents: read
1618
steps:
1719
- uses: actions/checkout@v4
1820
with:

0 commit comments

Comments
 (0)