Skip to content

chore(ci): move to trunk-based flow, drop develop branch - #13

Merged
hmcldryl merged 1 commit into
mainfrom
chore/trunk-based-flow
Aug 8, 2026
Merged

chore(ci): move to trunk-based flow, drop develop branch#13
hmcldryl merged 1 commit into
mainfrom
chore/trunk-based-flow

Conversation

@hmcldryl

@hmcldryl hmcldryl commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

GitFlow's develop+main split serves projects maintaining multiple parallel versions. This is a continuously-deployed website — the split bought nothing and caused three separate incidents this session (version-lineage desync, two develop push-races, a main/develop merge conflict).

  • .releaserc.json: branches -> ["main"] only
  • ci.yml: PR-into-main trigger only
  • deploy.yml: dropped the develop push trigger, prerelease step, and fixed dev alias re-point — keeps only PR-into-main preview + comment
  • release.yml: unchanged, already main-only
  • README/CONTRIBUTING/PR template: rewritten for the trunk-based flow
  • docs/facebook-sync.md: updated revival notes (main is now protected, no direct push even for a bot token)

develop branch deleted separately once this merges.

🤖 Generated with Claude Code

GitFlow's develop+main split serves projects maintaining multiple
parallel versions (a library patching v1.x while developing v2.x).
This is a continuously-deployed website — that split bought nothing
and cost real time this session: three separate incidents (a manual
version hotfix desyncing the two branches' semantic-release lineages,
two develop push-races against its own CI auto-commit, and a
main/develop merge conflict) all traced directly back to running two
independently-versioned branches.

- .releaserc.json: branches -> ["main"] only, drop develop's
  prerelease channel.
- ci.yml: drop the push-to-develop trigger, PR-into-main only.
- deploy.yml: drop the develop push trigger, the prerelease
  semantic-release step, and the fixed betteraborlan-dev.vercel.app
  alias re-point. Keeps only the PR-into-main preview + comment path,
  which already covered what the fixed alias was for.
- release.yml: unchanged, already main-only.
- README/CONTRIBUTING: rewritten branching sections for the
  trunk-based flow (branch off main, PR into main, protected).
- PULL_REQUEST_TEMPLATE.md: dropped the 'targets develop' checklist
  item.
- docs/facebook-sync.md: updated the disabled feature's revival notes
  — main is now the only branch and it's protected, so a bot token
  can't push straight to it either; needs a PR instead.

develop branch itself deleted separately after this merges.
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
betteraborlan Ignored Ignored Aug 8, 2026 9:08am

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

@hmcldryl
hmcldryl merged commit 985ea9f into main Aug 8, 2026
4 checks passed
@hmcldryl
hmcldryl deleted the chore/trunk-based-flow branch August 8, 2026 09:10
@hmcldryl

hmcldryl commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant