Skip to content

Commit 2658591

Browse files
committed
The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.
1 parent 75258e0 commit 2658591

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ jobs:
175175
- pre-release-checks
176176
environment: Scheduled testing publish
177177
runs-on: ubuntu-latest
178-
permissions:
179-
# This permission is used for trusted publishing:
180-
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
181-
#
182-
# Trusted publishing has to also be configured on PyPI for each package:
183-
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
184-
id-token: write
178+
# permissions:
179+
# # This permission is used for trusted publishing:
180+
# # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
181+
# #
182+
# # Trusted publishing has to also be configured on PyPI for each package:
183+
# # https://docs.pypi.org/trusted-publishers/adding-a-publisher/
184+
# id-token: write
185185

186186
defaults:
187187
run:

.github/workflows/_test_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ jobs:
6565
needs:
6666
- build
6767
runs-on: ubuntu-latest
68-
permissions:
69-
# This permission is used for trusted publishing:
70-
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
71-
#
72-
# Trusted publishing has to also be configured on PyPI for each package:
73-
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
74-
id-token: write
68+
# permissions:
69+
# # This permission is used for trusted publishing:
70+
# # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
71+
# #
72+
# # Trusted publishing has to also be configured on PyPI for each package:
73+
# # https://docs.pypi.org/trusted-publishers/adding-a-publisher/
74+
# id-token: write
7575

7676
steps:
7777
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)