Skip to content

Commit 79fc9cd

Browse files
committed
fix: remove id-token, propigate content read for release intergration
1 parent 97718c8 commit 79fc9cd

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

.github/workflows/release-integration.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
defaults:
3030
run:
3131
shell: bash
32-
permissions:
33-
id-token: write
3432
steps:
3533
- name: Checkout
3634
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
if: needs.release.outputs.releases
245245
uses: ./.github/workflows/release-integration.yml
246246
permissions:
247-
id-token: write
247+
contents: read
248248
secrets:
249249
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
250250
with:

lib/content/_job-release-integration-yml.hbs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ runs-on: ubuntu-latest
33
defaults:
44
run:
55
shell: bash
6-
{{#if publish}}
7-
permissions:
8-
id-token: write
9-
{{/if}}
106
steps:
117
{{#if publish}}
128
{{> stepsSetupYml jobCheckout=(obj ref="${{ fromJSON(inputs.releases)[0].tagName }}") }}

lib/content/release-yml.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
uses: ./.github/workflows/release-integration.yml
187187
{{#if publish}}
188188
permissions:
189-
id-token: write
189+
contents: read
190190
secrets:
191191
PUBLISH_TOKEN: $\{{ secrets.PUBLISH_TOKEN }}
192192
{{/if}}

0 commit comments

Comments
 (0)