Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.3/schema.json",
"$schema": "https://unpkg.com/@changesets/config@4.0.0/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "stainless-code/layers" }
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
node-version: "24"
registry-url: "https://registry.npmjs.org"

# `git tag -a` needs identity; `commitMode: github-api` does not set one.
# `scripts/release.ts` creates local annotated tags; action v2
# `ensureGitUser` runs first, but keep identity for a local `git tag -a`.
- name: Configure git identity for release tags
run: |
git config user.name "github-actions[bot]"
Expand All @@ -68,15 +69,14 @@ jobs:
# unpublished versions. Failures: step log (App credentials, OIDC, registry).
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@198f833dd7d863100ea6e28967bc9a9fdefadb0a # v1
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
with:
# Runs `changeset version` then oxfmt on CHANGELOG.md so `format:check` passes.
version: bun run version
publish: bun run release
title: "chore: version packages"
commit: "chore: version packages"
createGithubReleases: true
commitMode: github-api
version-script: bun run version
publish-script: bun run release
pr-title: "chore: version packages"
commit-message: "chore: version packages"
create-github-releases: true
github-token: ${{ steps.app-token.outputs.token }}
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
Loading
Loading