From 979c1d0828e926961970277178621a38fa75e601 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Tue, 26 May 2026 01:36:06 +0300 Subject: feat(mirror-rollout-1a): add canary wrapper pinned to feature branch Pin to vyos/.github@feature/rollout-1-app-tokens for Rollout 1a end-to-end canary verification. Plan: ~/.claude/plans/2026-05-17-mirror-pipeline-rollout-1a-canary-pair.md Task 3 --- .github/workflows/pr-mirror-repo-sync.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pr-mirror-repo-sync.yml (limited to '.github/workflows') diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml new file mode 100644 index 0000000..f935a51 --- /dev/null +++ b/.github/workflows/pr-mirror-repo-sync.yml @@ -0,0 +1,30 @@ +# .github/workflows/pr-mirror-repo-sync.yml — CANARY WRAPPER +# DO NOT EDIT — managed by mirror-pipeline Rollout 1a. +# Pinned to vyos/.github@feature/rollout-1-app-tokens for canary verification. +# Rollout 1b Task 7 Step 9 will (1) merge the feature branch to @current +# and (2) update this wrapper's pin to @current. Or this entire repo will +# be deleted after Rollout 1a passes. +name: PR Mirror and Repo Sync + +on: + pull_request_target: + types: [closed] + branches: [current] + workflow_dispatch: + inputs: + sync_branch: + required: true + type: string + +permissions: + contents: read + +jobs: + call: + if: | + github.repository_owner == 'vyos' + && (github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch') + uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@feature/rollout-1-app-tokens + with: + sync_branch: ${{ inputs.sync_branch || github.event.pull_request.base.ref }} + secrets: inherit -- cgit v1.2.3