Skip to content

Commit

Permalink
permissions moved
Browse files Browse the repository at this point in the history
  • Loading branch information
kivel committed Dec 19, 2024
1 parent 8f20e36 commit a6ad318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ jobs:
upload:
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Download dist artifact
uses: actions/download-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
# if: github.ref_type == 'tag'
needs: dist
uses: ./.github/workflows/_pypi.yml
permissions:
id-token: write
# permissions:
# id-token: write

0 comments on commit a6ad318

Please sign in to comment.