Skip to content

ci: run build.yaml on vnext and auto-sync master into vnext#2068

Open
tyrielv wants to merge 1 commit into
microsoft:masterfrom
tyrielv:tyrielv/vnext-ci-triggers
Open

ci: run build.yaml on vnext and auto-sync master into vnext#2068
tyrielv wants to merge 1 commit into
microsoft:masterfrom
tyrielv:tyrielv/vnext-ci-triggers

Conversation

@tyrielv

@tyrielv tyrielv commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Prepares CI for the upcoming vnext feature-integration branch:

  • Add vnext to build.yaml's pull_request / push branch filters so vnext PRs get the same CI as master.
  • Add .github/workflows/sync-master-to-vnext.yaml — a one-way workflow that keeps vnext current by merging master into it on every master push (plus an hourly safety net). It files an issue on conflict.

Why

Branch model: master stays the shippable line (stabilization / bug-fixes; releases cut here); vnext accumulates next major/minor feature work. master -> vnext flows automatically (already-reviewed code); vnext -> master promotion stays a normal reviewed PR.

Follow-ups (admin, not in this PR)

  • Create the vnext branch.
  • Create a vnext ruleset mirroring master's policy, with the sync identity on its bypass list.
  • Provision the VNEXT_SYNC_TOKEN secret (the sync identity's token).

The sync workflow no-ops until vnext exists, so merging this PR is safe on its own.

Add `vnext` to build.yaml's pull_request/push branch filters so the
feature-integration branch gets the same CI as master, and add a workflow
that keeps vnext current by merging master into it. The sync is one-way
(master -> vnext, no review); vnext -> master promotion stays a reviewed PR.

The sync job authenticates as the identity listed in vnext's ruleset bypass
list via the VNEXT_SYNC_TOKEN secret, and files an issue on merge conflict.

Assisted-by: Claude Opus 4.8
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
@tyrielv tyrielv requested a review from mjcheetham July 15, 2026 22:53
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.

1 participant