Skip to content

Commit 8b48ddc

Browse files
chore(ci): use id-token write for whole job
Trusted publishing asks for this explicitly; the job-specific case might not be supported.
1 parent c42a41d commit 8b48ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
types:
55
- published
66

7+
permissions:
8+
contents: read
9+
id-token: write
10+
711
jobs:
812
check:
913
uses: ./.github/workflows/ci.yml
@@ -14,10 +18,6 @@ jobs:
1418

1519
runs-on: ubuntu-latest
1620

17-
permissions:
18-
contents: read
19-
id-token: write # Required for OIDC
20-
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v5

0 commit comments

Comments
 (0)