Skip to content

Commit

Permalink
workflows: Move from static PyPI token to trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Dec 24, 2023
1 parent 63264e1 commit e5036d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
release:
runs-on: ubuntu-22.04
environment: release
permissions:
id-token: write
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -46,6 +49,3 @@ jobs:

- name: Create PyPy release
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit e5036d8

Please sign in to comment.