[PR #4443] [MERGED] ci: main branch protection #22289

Closed
opened 2026-04-15 20:56:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4443
Author: @himself65
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/09/04/protect


📝 Commits (1)

  • 2089ee0 ci: main branch protection

📊 Changes

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

View changed files

.github/workflows/main-protect.yml (+18 -0)

📄 Description

prevent people to PR to main branch, and we merge it unexpectely


Summary by cubic

Adds a CI check to protect main. PRs to main only pass if opened from canary or a vX.Y.Z-staging branch; all others fail to prevent accidental merges.


🔄 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/4443 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/04/protect` --- ### 📝 Commits (1) - [`2089ee0`](https://github.com/better-auth/better-auth/commit/2089ee00c8eb4183ae7f85e9bb5117311167040d) ci: main branch protection ### 📊 Changes **1 file changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/main-protect.yml` (+18 -0) </details> ### 📄 Description prevent people to PR to main branch, and we merge it unexpectely <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a CI check to protect main. PRs to main only pass if opened from canary or a vX.Y.Z-staging branch; all others fail to prevent accidental merges. <!-- 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-15 20:56:23 -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#22289