Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@4.0.1/schema.json",
"baseBranch": "main",
"access": "public",
"changelog": "@changesets/cli/changelog",
"changelog": [
"@changesets/changelog-github",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: @changesets/changelog-github needs GITHUB_TOKEN to resolve {pull}, but the release versioning workflow does not expose that variable to the Changesets process. Pass ${{ secrets.GITHUB_TOKEN }} to the version-pr step and grant the formatter's required read permissions, otherwise release PR generation can fail or hit unauthenticated GitHub API limits.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At .changeset/config.json, line 4:

<comment>`@changesets/changelog-github` needs `GITHUB_TOKEN` to resolve `{pull}`, but the release versioning workflow does not expose that variable to the Changesets process. Pass `${{ secrets.GITHUB_TOKEN }}` to the `version-pr` step and grant the formatter's required read permissions, otherwise release PR generation can fail or hit unauthenticated GitHub API limits.</comment>

<file context>
@@ -1,11 +1,14 @@
-  "access": "public",
-  "changelog": "@changesets/cli/changelog",
+  "changelog": [
+    "@changesets/changelog-github",
+    {
+      "repo": "convex/action-cache",
</file context>

{
"repo": "convex/action-cache",
"template": "\n\n- {summary}"
}
],
"commit": false,
"fixed": [],
"linked": [],
"updateInternalDependencies": "patch",
"ignore": []
"access": "public",
"baseBranch": "main",
"format": "prettier"
}
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Choose the version bump, describe the user-visible change, and commit the
generated file with your implementation. Docs-only and development-tooling
changes do not need a changeset.

Once your PR is open, add its number in parentheses at the end of the first
paragraph of each changeset, for example `(#279)`.

Review and merge the release PR when ready. Click **Approve workflows to run**
on the PR if its checks are waiting for approval. To refresh it manually, run
the [Update release PR workflow](./.github/workflows/version.yml) on main.
Expand Down
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"convex": "^1.24.8"
},
"devDependencies": {
"@changesets/changelog-github": "1.0.1",
"@changesets/cli": "3.0.3",
"@convex-dev/eslint-plugin": "5.0.1",
"@edge-runtime/vm": "5.0.0",
Expand Down
Loading