Skip to content

Commit 2e2f30e

Browse files
authored
Add contents write permission for publishing docs on release
1 parent 368388b commit 2e2f30e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
permissions:
1212
# IMPORTANT: this permission is mandatory for trusted publishing
1313
id-token: write
14+
contents: write
1415
steps:
1516
- uses: actions/checkout@v3
1617

@@ -37,4 +38,4 @@ jobs:
3738
# See https://docs.pypi.org/trusted-publishers/using-a-publisher/
3839
- name: Publish package distributions to PyPI
3940
uses: pypa/gh-action-pypi-publish@release/v1
40-
41+

0 commit comments

Comments
 (0)