Explicitly add the contents: write permission for publishing releases. (#9617)

This commit is contained in:
Predrag Gruevski
2023-08-22 11:38:18 -04:00
committed by GitHub
parent c75e1aa5ed
commit a1e89aa8d5

View File

@@ -23,6 +23,9 @@ jobs:
# Trusted publishing has to also be configured on PyPI for each package:
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
id-token: write
# This permission is needed by `ncipollo/release-action` to create the GitHub release.
contents: write
defaults:
run:
working-directory: ${{ inputs.working-directory }}