Skip to content

Commit

Permalink
Disable trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Aug 29, 2024
1 parent edd1525 commit bd3c4fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
publish-pypi:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'monosans' }}
permissions:
id-token: write
# permissions:
# id-token: write
steps:
- uses: actions/checkout@v4
- run: pipx run poetry build --no-interaction
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
publish-npm:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'monosans' }}
Expand Down

0 comments on commit bd3c4fa

Please # to comment.