Skip to content

Commit a952403

Browse files
committed
give token permission
1 parent 7e081c9 commit a952403

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- 'pyproject.toml'
99
jobs:
1010
pypi:
11+
permissions:
12+
id-token: write
1113
runs-on: ubuntu-latest
1214
steps:
1315
- uses: actions/checkout@v4

.github/workflows/test-pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- 'pyproject.toml'
77
jobs:
88
test_pypi:
9+
permissions:
10+
id-token: write
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)