Skip to content

chore: establish safe preview-to-main delivery flow - #4

Open
ZoltanWolf wants to merge 3 commits into
mainfrom
codex/register-first-foundation
Open

chore: establish safe preview-to-main delivery flow#4
ZoltanWolf wants to merge 3 commits into
mainfrom
codex/register-first-foundation

Conversation

@ZoltanWolf

@ZoltanWolf ZoltanWolf commented Feb 7, 2026

Copy link
Copy Markdown
Collaborator

What

  • add documented Git preview/release flow (docs/GIT_PREVIEW_RELEASE_FLOW.md)
  • add script to apply branch protection on main (scripts/setup_github_branch_protection.sh)

Why

  • keep main stable while Register-First is developed and previewed
  • enforce PR-first delivery instead of direct pushes

Notes

  • this PR intentionally does not touch product behavior
  • existing local uncommitted workspace changes are not included in this commit

@netlify

netlify Bot commented Feb 7, 2026

Copy link
Copy Markdown

Deploy Preview for studio-egonso ready!

Name Link
🔨 Latest commit 20c56bd
🔍 Latest deploy log https://app.netlify.com/projects/studio-egonso/deploys/6987191cb3227b000829f52b
😎 Deploy Preview https://deploy-preview-4--studio-egonso.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ZoltanWolf

Copy link
Copy Markdown
Collaborator Author

Follow-up needed by a repo admin:

Branch protection for main cannot be set from this token (permission is write, not admin).

Run after checkout:

cd /Users/zoltangal/Desktop/METAProjekt/Programmieren/studio
./scripts/setup_github_branch_protection.sh Egonso/studio main

This enforces PR-first flow on main.

@ZoltanWolf

Copy link
Copy Markdown
Collaborator Author

Update: the branch-protection script now supports both modes:

  1. PR protection only (no required checks)
cd /Users/zoltangal/Desktop/METAProjekt/Programmieren/studio
./scripts/setup_github_branch_protection.sh Egonso/studio main
  1. PR protection + required checks
cd /Users/zoltangal/Desktop/METAProjekt/Programmieren/studio
./scripts/setup_github_branch_protection.sh Egonso/studio main "lint" "typecheck"

Note: this still must be executed by a repo admin account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants