Skip to content

Commit 23d3547

Browse files
fix: add missing access token to release actions/checkout (#1840)
## PR Checklist - [x] Addresses an existing open issue: fixes #1838 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview _Sigh_. See #1838 (comment). 💖
1 parent 9ea3c43 commit 23d3547

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
with:
1010
fetch-depth: 0
1111
ref: main
12+
token: ${{ secrets.ACCESS_TOKEN }}
1213
- uses: ./.github/actions/prepare
1314
- run: pnpm build
1415
- env:

src/next/blocks/blockReleaseIt.ts

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export const blockReleaseIt = base.createBlock({
9696
with: {
9797
"fetch-depth": 0,
9898
ref: "main",
99+
token: "${{ secrets.ACCESS_TOKEN }}",
99100
},
100101
},
101102
{

src/steps/writing/creation/dotGitHub/createWorkflows.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ describe("createWorkflows", () => {
257257
with:
258258
fetch-depth: 0
259259
ref: main
260+
token: \${{ secrets.ACCESS_TOKEN }}
260261
- uses: ./.github/actions/prepare
261262
- run: pnpm build
262263
- env:

src/steps/writing/creation/dotGitHub/createWorkflows.ts

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ export function createWorkflows(options: Options) {
225225
with: {
226226
"fetch-depth": 0,
227227
ref: "main",
228+
token: "${{ secrets.ACCESS_TOKEN }}",
228229
},
229230
},
230231
{

0 commit comments

Comments
 (0)