Skip to content

Commit 802cb98

Browse files
fix: fix post-release.yml comment-template links (#433)
## PR Checklist - [x] Addresses an existing open issue: fixes #432 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview * `package.json` wasn't being found because the repo wasn't checked out yet * `release_link` is a full Markdown link, not the direct URL
1 parent b5caadc commit 802cb98

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/post-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ jobs:
33
name: Comment on relevant PRs and issues
44
runs-on: ubuntu-latest
55
steps:
6+
- uses: actions/checkout@v3
7+
with:
8+
fetch-depth: 0
69
- run: echo "npm_version=$(npm pkg get version)" >> "$GITHUB_ENV"
710
- uses: apexskier/github-release-commenter@v1
811
with:
@@ -12,7 +15,7 @@ jobs:
1215
1316
The release is available on:
1417
15-
* [GitHub releases]({release_link})
18+
* [GitHub releases](https://github.com/JoshuaKGoldberg/template-typescript-node-package/releases/tag/{release_tag})
1619
* [npm package (@latest dist-tag)](https://www.npmjs.com/package/template-typescript-node-package/v/${{ env.npm_version }}})
1720
1821
Cheers! 📦🚀

0 commit comments

Comments
 (0)