[PR #8960] [MERGED] fix(ci): exclude promotion PRs from auto-retarget #16574

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

📋 Pull Request Information

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

Base: mainHead: fix/auto-retarget-permissions


📝 Commits (1)

  • 6982273 fix(ci): exclude promotion PRs from auto-retarget

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 .github/workflows/auto-retarget.yml (+1 -0)

📄 Description

Summary

  • Promotion PRs (next → main) contain minor/major changesets by design. Without this exclusion, auto-retarget would move them back to next, breaking the promotion flow.
  • Adds github.event.pull_request.head.ref != 'next' to the job condition.

Context

Caught by Cubic review on #8957 (merged before this could be included).


Summary by cubic

Exclude promotion PRs (nextmain) from auto-retarget so they aren’t moved back to next. Adds github.event.pull_request.head.ref != 'next' to .github/workflows/auto-retarget.yml to preserve the promotion flow.

Written for commit 6982273b28. 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/8960 **Author:** [@gustavovalverde](https://github.com/gustavovalverde) **Created:** 4/4/2026 **Status:** ✅ Merged **Merged:** 4/4/2026 **Merged by:** [@gustavovalverde](https://github.com/gustavovalverde) **Base:** `main` ← **Head:** `fix/auto-retarget-permissions` --- ### 📝 Commits (1) - [`6982273`](https://github.com/better-auth/better-auth/commit/6982273b281c98aab87e5a3f3b3f168a54ae6cf3) fix(ci): exclude promotion PRs from auto-retarget ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/auto-retarget.yml` (+1 -0) </details> ### 📄 Description ## Summary - Promotion PRs (`next → main`) contain minor/major changesets by design. Without this exclusion, auto-retarget would move them back to `next`, breaking the promotion flow. - Adds `github.event.pull_request.head.ref != 'next'` to the job condition. ## Context Caught by Cubic review on #8957 (merged before this could be included). <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exclude promotion PRs (`next` → `main`) from auto-retarget so they aren’t moved back to `next`. Adds `github.event.pull_request.head.ref != 'next'` to `.github/workflows/auto-retarget.yml` to preserve the promotion flow. <sup>Written for commit 6982273b281c98aab87e5a3f3b3f168a54ae6cf3. 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:35:15 -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#16574