Skip to content

Commit

Permalink
workflows: Fix release permissions
Browse files Browse the repository at this point in the history
We need `contents` for creating a release.
  • Loading branch information
martinpitt committed Dec 25, 2023
1 parent e5036d8 commit e991224
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:
runs-on: ubuntu-22.04
environment: release
permissions:
# PyPI trusted publisher
id-token: write
# create release
contents: write
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand Down

0 comments on commit e991224

Please sign in to comment.