diff --git a/.github/workflows/sync-temp-fix.yml b/.github/workflows/sync-temp-fix.yml new file mode 100644 index 00000000..e09653f5 --- /dev/null +++ b/.github/workflows/sync-temp-fix.yml @@ -0,0 +1,23 @@ +name: "Sync temp-fix branch from main" + +# Manual-only trigger — docs team runs this when they know +# it's safe to update temp-fix without breaking docs builds. +on: + workflow_dispatch: + +permissions: + contents: write + +jobs: + sync: + runs-on: ubuntu-latest + environment: docs-sync-approval + 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