Skip to content

docs(ep): automating EPv2 content-branch creation (matches reusable-workflows#23) - #4431

Draft
kriscoleman wants to merge 1 commit into
mainfrom
polecat/obsidian/rd-6p9@mtagapjd
Draft

docs(ep): automating EPv2 content-branch creation (matches reusable-workflows#23)#4431
kriscoleman wants to merge 1 commit into
mainfrom
polecat/obsidian/rd-6p9@mtagapjd

Conversation

@kriscoleman

Copy link
Copy Markdown
Member

Summary

This documents the automation for the per-release content branches Enterprise Portal v2 needs, so vendors stop hand-creating them (and stop 404-ing customers when they forget one). It's the docs half of replicatedhq/reusable-workflows#23, which ships the reusable workflow itself.

Merge in lockstep with replicatedhq/reusable-workflows#23. The caller snippet and the input names here mirror that PR's README, and the GitHub links point at main, so they only resolve once #23 lands. Draft until then.

Changes

Adds an "Automating content branch creation" section to docs/vendor/enterprise-portal-v2-versioned-docs.mdx, right after "Adding versions" (where the page already tells vendors the branches are manual). It covers:

  • The branch-name contract, stated in the docs for the first time. Enterprise Portal resolves a release's content by looking up a branch named exactly the bare version label (0.3.312, not v0.3.312, release/0.3.312, or anything with build metadata or a pre-release suffix). Until now that rule only lived in the vendor API source.
  • The manual burden and the fix, linking the epv2-reconcile-content-branches reusable workflow and its README.
  • A copy-paste caller snippet with the uses: line, the required workflow_ref (pinned to the same ref), the replicated_api_token secret, permissions: contents: write, and a release: [published] trigger with a cron fallback.
  • When branches are cut, in plain language: branches come off main as it stands when reconcile runs, so run it at release time if you want the branch to match what shipped.
  • The bare MAJOR.MINOR.PATCH requirement, so vendors on v-prefixed or calver schemes know it won't work as-is.
  • Cleanup, since the workflow only creates branches and never deletes them.

UAT

  1. npm ci && npm run build (Docusaurus). Build succeeds, exit 0.
  2. Open the built page and confirm the new "Automating content branch creation" section renders after "Adding versions" with a working YAML code block.
  3. Confirm the in-page #removing-versions link resolves. No broken-link or broken-anchor warnings reference this page in the build log.

Add an 'Automating content branch creation' section to the EPv2 versioned
docs page covering the reusable epv2-reconcile-content-branches workflow:
the bare-version branch-name contract, a copy-paste caller snippet, when
branches are cut, and cleanup expectations. Matches
replicatedhq/reusable-workflows#23.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit 938aa29
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/6a8f373459239d0008791675
😎 Deploy Preview https://deploy-preview-4431--replicated-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit 938aa29
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/6a8f37340b96c90008b8c259
😎 Deploy Preview https://deploy-preview-4431--replicated-docs-upgrade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

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

Labels

type::docs Improvements or additions to documentation type::feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants