From b1923963eb51223d0fa9c15f7c82e246c9696dcc Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:49:31 +0100 Subject: [PATCH] Update action --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a744ac2..2d79164 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,5 @@ name: Publish distributions to PyPI -permissions: - id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout - # if this workflow is modified to be a generic CI workflow then # add an if statement to the publish step so it only runs on tags. on: @@ -16,6 +12,9 @@ jobs: name: Build and publish distributions to PyPI if: github.repository == 'pvlib/twoaxistracking' runs-on: ubuntu-latest + permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout steps: # fetch all commits and tags so versioneer works - uses: actions/checkout@v4