Skip to content

Commit d2f2c7d

Browse files
committed
Change: Use trusted publisher upload for PyPI
1 parent a52e2f7 commit d2f2c7d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/deploy-pypi.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@ on:
66

77
jobs:
88
deploy:
9-
uses: greenbone/workflows/.github/workflows/deploy-pypi.yml@main
10-
secrets: inherit
9+
permissions:
10+
id-token: write
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/project/autohooks/
15+
steps:
16+
- name: Build and publish to PyPI
17+
uses: greenbone/actions/pypi-upload@v3

0 commit comments

Comments
 (0)