[PR #9019] [MERGED] ci: add one-click changeset commit and unify bot identity #16621

Closed
opened 2026-04-13 10:36:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9019
Author: @gustavovalverde
Created: 4/7/2026
Status: Merged
Merged: 4/7/2026
Merged by: @gustavovalverde

Base: mainHead: ci/changeset-commit-button


📝 Commits (1)

  • ac800df ci: add one-click changeset commit and unify bot identity

📊 Changes

5 files changed (+230 additions, -7 deletions)

View changed files

📝 .github/workflows/auto-changeset.yml (+186 -2)
📝 .github/workflows/auto-label.yml (+9 -0)
📝 .github/workflows/auto-retarget.yml (+13 -4)
📝 .github/workflows/lock-threads.yml (+10 -0)
📝 .github/workflows/semantic-pull-request.yml (+12 -1)

📄 Description

Summary

  • Add a checkbox to the /changeset bot comment that commits the changeset to the PR branch when checked, using the Git Data API for atomic single-commit writes that supersede any prior changeset files introduced by the PR
  • Migrate auto-retarget, semantic-pull-request, auto-label, and lock-threads workflows from GITHUB_TOKEN to the better-release App token for consistent bot identity
  • Block checkbox commits to protected branches (main, next, release/*) and fork PRs
  • Fix auto-retarget.yml head.sha injection by moving it from inline expression to env var

Summary by cubic

Add a one-click checkbox to the /changeset bot comment that commits the suggested changeset to the PR branch using a single Git Data API commit that supersedes PR-added changesets. Also switch auto-retarget, semantic-pull-request, auto-label, and lock-threads to the better-release App token for consistent bot identity, and block checkbox commits on main, next, release/*, and fork PRs.

  • Bug Fixes
    • auto-retarget.yml: move head.sha to HEAD_SHA env var to fix content lookups.

Written for commit ac800dfde5. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/9019 **Author:** [@gustavovalverde](https://github.com/gustavovalverde) **Created:** 4/7/2026 **Status:** ✅ Merged **Merged:** 4/7/2026 **Merged by:** [@gustavovalverde](https://github.com/gustavovalverde) **Base:** `main` ← **Head:** `ci/changeset-commit-button` --- ### 📝 Commits (1) - [`ac800df`](https://github.com/better-auth/better-auth/commit/ac800dfde52947a03fcf2285e3446c8437c52cc8) ci: add one-click changeset commit and unify bot identity ### 📊 Changes **5 files changed** (+230 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/auto-changeset.yml` (+186 -2) 📝 `.github/workflows/auto-label.yml` (+9 -0) 📝 `.github/workflows/auto-retarget.yml` (+13 -4) 📝 `.github/workflows/lock-threads.yml` (+10 -0) 📝 `.github/workflows/semantic-pull-request.yml` (+12 -1) </details> ### 📄 Description ## Summary - Add a checkbox to the `/changeset` bot comment that commits the changeset to the PR branch when checked, using the Git Data API for atomic single-commit writes that supersede any prior changeset files introduced by the PR - Migrate `auto-retarget`, `semantic-pull-request`, `auto-label`, and `lock-threads` workflows from `GITHUB_TOKEN` to the `better-release` App token for consistent bot identity - Block checkbox commits to protected branches (`main`, `next`, `release/*`) and fork PRs - Fix `auto-retarget.yml` `head.sha` injection by moving it from inline expression to env var <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add a one-click checkbox to the `/changeset` bot comment that commits the suggested changeset to the PR branch using a single Git Data API commit that supersedes PR-added changesets. Also switch `auto-retarget`, `semantic-pull-request`, `auto-label`, and `lock-threads` to the `better-release` App token for consistent bot identity, and block checkbox commits on `main`, `next`, `release/*`, and fork PRs. - **Bug Fixes** - `auto-retarget.yml`: move `head.sha` to `HEAD_SHA` env var to fix content lookups. <sup>Written for commit ac800dfde52947a03fcf2285e3446c8437c52cc8. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:36:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16621