summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@andamasov.com>2026-05-26 01:36:12 +0300
committerGitHub <noreply@github.com>2026-05-26 01:36:12 +0300
commit5b4565466ecfb6b3079ce4e35a28b28eb08dee88 (patch)
treeaea4f131d9c93ca98f0de87d3268706d7dd25b66
parent64a33e4f94b0db0bbde6e7ad5fc6ff1c0cc199b8 (diff)
parent979c1d0828e926961970277178621a38fa75e601 (diff)
downloadmirror-canary-5b4565466ecfb6b3079ce4e35a28b28eb08dee88.tar.gz
mirror-canary-5b4565466ecfb6b3079ce4e35a28b28eb08dee88.zip
Merge pull request #1 from vyos/feature/rollout-1a-add-wrapper
feat(mirror-rollout-1a): add canary wrapper
-rw-r--r--.github/workflows/pr-mirror-repo-sync.yml30
1 files changed, 30 insertions, 0 deletions
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