From 48e1b77f192f755854b908435ae27c2772b9a3f9 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Fri, 12 May 2023 23:57:28 +0200 Subject: [PATCH] implement review comments * no more environments until its clean what they do * version pin changes to actions --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 193ddcb48..8570a8a06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,6 @@ jobs: build: runs-on: ubuntu-latest timeout-minutes: 10 - environment: deploy steps: - uses: actions/checkout@v3 with: @@ -30,9 +29,8 @@ jobs: needs: [build] runs-on: ubuntu-latest timeout-minutes: 30 - environment: deploy permissions: - id-token: write # for pypi oidc publish + id-token: write steps: - name: Download Package uses: actions/download-artifact@v3 @@ -40,7 +38,7 @@ jobs: name: Packages path: dist - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.8.5 release-notes: @@ -50,7 +48,6 @@ jobs: needs: [deploy] runs-on: ubuntu-latest timeout-minutes: 30 - environment: deploy permissions: contents: write steps: