Skip to content

Commit 73eed57

Browse files
authored
ci(patch-release): support trusted publishers for package publish (#899)
1 parent 1a0bb0e commit 73eed57

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ jobs:
118118
- '3.13'
119119
package-publish:
120120
runs-on: ubuntu-24.04
121+
permissions:
122+
contents: read
123+
id-token: write
121124
steps:
122125
- name: Checkout repository
123126
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

template/{% if repo_platform == 'github' %}.github{% endif %}/workflows/release.yml.jinja

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ jobs:
129129
{% endif %}
130130
package-publish:
131131
runs-on: ubuntu-24.04
132+
permissions:
133+
contents: read
134+
id-token: write
132135
steps:
133136
- name: Checkout repository
134137
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)