diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index b31d0b7..8602716 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -6,5 +6,12 @@ on: jobs: deploy: - uses: greenbone/workflows/.github/workflows/deploy-pypi.yml@main - secrets: inherit + permissions: + id-token: write + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/project/autohooks-plugin-flake8/ + steps: + - name: Build and publish to PyPI + uses: greenbone/actions/pypi-upload@v3