[PR #8963] [MERGED] refactor(ci): drop c-* label prefix, delete pr-analyzer, simplify auto-label #25231

Closed
opened 2026-04-15 22:46:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: ci/simplify-labels


📝 Commits (1)

  • a9ad649 refactor(ci): drop c-* label prefix, delete pr-analyzer, simplify auto-label

📊 Changes

5 files changed (+59 additions, -294 deletions)

View changed files

📝 .github/labeler.yml (+15 -15)
📝 .github/scripts/auto-changeset.ts (+43 -8)
.github/scripts/pr-analyzer.ts (+0 -245)
📝 .github/workflows/auto-changeset.yml (+1 -7)
📝 .github/workflows/auto-label.yml (+0 -19)

📄 Description

Summary

  • Remove c- prefix from all 13 domain labels (c-corecore, etc.): in the end, the prefix was never used for programmatic filtering, every reference was exact-name matching
  • Delete pr-analyzer.ts (245 lines, zero consumers): inline parseConventionalCommit and mapTypeToBump directly into auto-changeset.ts
  • Remove cross-cutting refinement step from auto-label.yml: showing all matching labels is more informative than collapsing to core
  • Drop redundant domain output from auto-changeset AI prompt: the PR title already contains the scope

GitHub labels have already been renamed via gh label edit.

Before After
labeler.yml with c-* keys Plain label names
auto-label.yml (39 lines, 2 steps) Single actions/labeler step (20 lines)
pr-analyzer.ts (245 lines) Deleted — 22 lines inlined into auto-changeset.ts
auto-changeset.ts imports pr-analyzer Self-contained

Net: -230 lines

Test plan

  • Verify actions/labeler applies correct labels on a test PR (label names in labeler.yml match renamed GitHub labels)
  • Verify /changeset command still works (auto-changeset.ts compiles and runs)
  • Confirm no remaining c-* label references in workflows

🔄 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/8963 **Author:** [@gustavovalverde](https://github.com/gustavovalverde) **Created:** 4/5/2026 **Status:** ✅ Merged **Merged:** 4/5/2026 **Merged by:** [@gustavovalverde](https://github.com/gustavovalverde) **Base:** `main` ← **Head:** `ci/simplify-labels` --- ### 📝 Commits (1) - [`a9ad649`](https://github.com/better-auth/better-auth/commit/a9ad649260435f6a03a64b3368f5b99c6a96f1ac) refactor(ci): drop c-* label prefix, delete pr-analyzer, simplify auto-label ### 📊 Changes **5 files changed** (+59 additions, -294 deletions) <details> <summary>View changed files</summary> 📝 `.github/labeler.yml` (+15 -15) 📝 `.github/scripts/auto-changeset.ts` (+43 -8) ➖ `.github/scripts/pr-analyzer.ts` (+0 -245) 📝 `.github/workflows/auto-changeset.yml` (+1 -7) 📝 `.github/workflows/auto-label.yml` (+0 -19) </details> ### 📄 Description ## Summary - Remove `c-` prefix from all 13 domain labels (`c-core` → `core`, etc.): in the end, the prefix was never used for programmatic filtering, every reference was exact-name matching - Delete `pr-analyzer.ts` (245 lines, zero consumers): inline `parseConventionalCommit` and `mapTypeToBump` directly into `auto-changeset.ts` - Remove cross-cutting refinement step from `auto-label.yml`: showing all matching labels is more informative than collapsing to `core` - Drop redundant `domain` output from auto-changeset AI prompt: the PR title already contains the scope GitHub labels have already been renamed via `gh label edit`. | Before | After | |---|---| | `labeler.yml` with `c-*` keys | Plain label names | | `auto-label.yml` (39 lines, 2 steps) | Single `actions/labeler` step (20 lines) | | `pr-analyzer.ts` (245 lines) | Deleted — 22 lines inlined into `auto-changeset.ts` | | `auto-changeset.ts` imports `pr-analyzer` | Self-contained | Net: **-230 lines** ## Test plan - [ ] Verify `actions/labeler` applies correct labels on a test PR (label names in `labeler.yml` match renamed GitHub labels) - [ ] Verify `/changeset` command still works (auto-changeset.ts compiles and runs) - [ ] Confirm no remaining `c-*` label references in workflows --- <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-15 22:46:41 -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#25231