Skip to content

Commit 0d31628

Browse files
authored
Update permissions in publish.yml (#61)
* Update permissions in publish.yml * Update action
1 parent fb60d00 commit 0d31628

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
name: Build and publish distributions to PyPI
1313
if: github.repository == 'pvlib/twoaxistracking'
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write # This is required for requesting the JWT
17+
contents: read # This is required for actions/checkout
1518
steps:
1619
# fetch all commits and tags so versioneer works
1720
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)