Skip to content

Commit 2193a38

Browse files
committed
CRAI suggestions
1 parent 179a4ee commit 2193a38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
environment: pypi
2222
permissions:
23-
id-token: write
23+
contents: read # Required by actions/checkout
24+
id-token: write # Needed for OIDC-based Trusted Publishing
2425
# Only trigger on merges, not just closes
2526
if: github.event.pull_request.merged == true
2627
steps:

.github/workflows/verify.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ jobs:
239239
runs-on: ubuntu-latest
240240
environment: testpypi
241241
permissions:
242-
id-token: write
242+
contents: read # Required by actions/checkout
243+
id-token: write # Needed for OIDC-based Trusted Publishing
243244
needs:
244245
- cache
245246
- prepare

0 commit comments

Comments
 (0)