We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 920be14 + 19a40f3 commit 16192e5Copy full SHA for 16192e5
.github/workflows/pypi-publish.yaml
@@ -11,6 +11,9 @@ jobs:
11
12
build_and_package:
13
runs-on: ubuntu-latest
14
+ environment: pypi
15
+ permissions:
16
+ id-token: write
17
steps:
18
- uses: actions/checkout@v4
19
- name: install python
@@ -33,6 +36,3 @@ jobs:
33
36
34
37
- name: Publish to Pypi
35
38
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
.github/workflows/release-drafter.yml
@@ -14,6 +14,7 @@ jobs:
contents: write # to create a github release (release-drafter/release-drafter)
+ environment: release-drafter
# Drafts your next Release notes as Pull Requests are merged into "main"
20
- uses: release-drafter/release-drafter@v6
0 commit comments