Skip to content

Commit cbb03bc

Browse files
Direct changeset to write github changelogs (#558)
1 parent 19c271c commit cbb03bc

File tree

4 files changed

+46
-1
lines changed

4 files changed

+46
-1
lines changed

.changeset/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": "@changesets/cli/changelog",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{ "repo": "vercel/workflow" }
6+
],
47
"commit": false,
58
"fixed": [],
69
"linked": [],

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ jobs:
1111
release:
1212
name: Release
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
1417
env:
1518
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
1619
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
1720
steps:
1821
- name: Checkout Repo
1922
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
2025

2126
- name: Setup pnpm
2227
uses: pnpm/action-setup@v3
@@ -38,6 +43,7 @@ jobs:
3843
with:
3944
version: pnpm ci:version
4045
publish: pnpm ci:publish
46+
createGithubReleases: true
4147
env:
4248
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
4349
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"license": "Apache-2.0",
55
"devDependencies": {
66
"@biomejs/biome": "catalog:",
7+
"@changesets/changelog-github": "0.5.2",
78
"@changesets/cli": "^2.29.5",
89
"@vitest/coverage-v8": "catalog:",
910
"esbuild": "catalog:",

pnpm-lock.yaml

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)