Skip to content

Commit 5208f0f

Browse files
authored
internal(release): checkout repo in extra steps (#4607)
1 parent 2a087b3 commit 5208f0f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,14 @@ jobs:
9393
runs-on: ubuntu-latest
9494
environment: release
9595
permissions:
96+
contents: read # for actions/checkout
9697
id-token: write # for npm trusted publishing via OIDC
9798
steps:
99+
- name: Checkout repo
100+
uses: actions/checkout@v4
101+
with:
102+
persist-credentials: false
103+
98104
- name: Setup Node.js
99105
uses: actions/setup-node@v4
100106
with:
@@ -124,6 +130,11 @@ jobs:
124130
permissions:
125131
contents: write # for creating GitHub release
126132
steps:
133+
- name: Checkout repo
134+
uses: actions/checkout@v4
135+
with:
136+
persist-credentials: false
137+
127138
- name: Download release notes
128139
uses: actions/download-artifact@v4
129140
with:

0 commit comments

Comments
 (0)