Skip to content

Commit c5ba2d8

Browse files
Update main.yml
1 parent 5216592 commit c5ba2d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ jobs:
120120
deploy:
121121
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pluggy'
122122
runs-on: ubuntu-latest
123-
123+
permissions:
124+
id-token: write
124125
steps:
125126
- uses: actions/checkout@v3
126127
with:
@@ -140,6 +141,3 @@ jobs:
140141

141142
- name: Publish package
142143
uses: pypa/gh-action-pypi-publish@v1.8.6
143-
with:
144-
user: __token__
145-
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)