Skip to content

Commit

Permalink
chore(CI/CI): update workflow permission for private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardzjl committed Oct 25, 2024
1 parent 9b98b4c commit 406194e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: read # IMPORTANT: this permission is mandatory for private repositories

steps:
- uses: actions/checkout@v4
Expand All @@ -28,4 +29,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
# repository-url: https://test.pypi.org/legacy/

0 comments on commit 406194e

Please sign in to comment.