From 8870fc6d5bddf42f5267eae207d3027770ebd467 Mon Sep 17 00:00:00 2001 From: brandom-msft Date: Fri, 13 Feb 2026 12:06:04 -0800 Subject: [PATCH 1/3] Add on-demand workflow to sync temp-fix branch from main The docs team references the temp-fix branch for stable builds. This workflow_dispatch action lets the docs team manually sync temp-fix to main's HEAD when they know it's safe to do so. --- .github/workflows/sync-temp-fix.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sync-temp-fix.yml diff --git a/.github/workflows/sync-temp-fix.yml b/.github/workflows/sync-temp-fix.yml new file mode 100644 index 00000000..0c339e3e --- /dev/null +++ b/.github/workflows/sync-temp-fix.yml @@ -0,0 +1,22 @@ +name: "Sync temp-fix branch from main" + +# Manual-only trigger — Sheri (docs team) runs this when she knows +# it's safe to update temp-fix without breaking docs builds. +on: + workflow_dispatch: + +permissions: + contents: write + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v4 + with: + ref: main + fetch-depth: 0 + + - name: Force-push main to temp-fix + run: git push origin HEAD:refs/heads/temp-fix --force From c563221cfe0d74a9f7cde3408db29241ad290a80 Mon Sep 17 00:00:00 2001 From: brandom-msft Date: Fri, 13 Feb 2026 12:14:02 -0800 Subject: [PATCH 2/3] Update workflow comment to be team-generic --- .github/workflows/sync-temp-fix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-temp-fix.yml b/.github/workflows/sync-temp-fix.yml index 0c339e3e..4cb080c0 100644 --- a/.github/workflows/sync-temp-fix.yml +++ b/.github/workflows/sync-temp-fix.yml @@ -1,6 +1,6 @@ name: "Sync temp-fix branch from main" -# Manual-only trigger — Sheri (docs team) runs this when she knows +# Manual-only trigger — docs team runs this when they know # it's safe to update temp-fix without breaking docs builds. on: workflow_dispatch: From c3e1fd1d2e332361da55a9227605e0ea354956f5 Mon Sep 17 00:00:00 2001 From: brandom-msft Date: Fri, 13 Feb 2026 12:17:30 -0800 Subject: [PATCH 3/3] Add environment approval gate to sync workflow Requires approval from reviewers configured in the 'docs-sync-approval' environment before the sync executes. --- .github/workflows/sync-temp-fix.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync-temp-fix.yml b/.github/workflows/sync-temp-fix.yml index 4cb080c0..e09653f5 100644 --- a/.github/workflows/sync-temp-fix.yml +++ b/.github/workflows/sync-temp-fix.yml @@ -11,6 +11,7 @@ permissions: jobs: sync: runs-on: ubuntu-latest + environment: docs-sync-approval steps: - name: Checkout main uses: actions/checkout@v4