summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-06-06 01:16:17 +0300
committerGitHub <noreply@github.com>2026-06-06 01:16:17 +0300
commitc0086b558d8ec6f3f619cca3b0f0fa674f0d4f9a (patch)
tree5587b6cff6bf6f51bc8167ea12ef90ee3e29de64 /.github/workflows
parent691efa0289201906cb3a3355a1c62b8a00ab55fb (diff)
downloadvyatta-bash-c0086b558d8ec6f3f619cca3b0f0fa674f0d4f9a.tar.gz
vyatta-bash-c0086b558d8ec6f3f619cca3b0f0fa674f0d4f9a.zip
ci: T8943: re-add PR-mirror wrapper stub (rolling) (#40)
Re-onboards vyatta-bash to the PR-mirror pipeline, reversing the 2026-05-30 exclusion (VD-4257 c#46015). The wrapper was removed in Rollout 2 Task 7 (#36); this restores the byte-identical canonical stub (sha256 45634ff9) so merges to rolling mirror to VyOS-Networks/vyatta-bash. Paired with the consumers.yaml allow-list entry on VyOS-Networks/.github (rolling-only). Mirroring no-ops until both land. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr-mirror-repo-sync.yml27
1 files changed, 27 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..0f16633
--- /dev/null
+++ b/.github/workflows/pr-mirror-repo-sync.yml
@@ -0,0 +1,27 @@
+# .github/workflows/pr-mirror-repo-sync.yml
+# DO NOT EDIT — managed by mirror-pipeline rollout.
+# To opt out: set vars.MIRROR_ENABLED=false in this repo's Actions variables.
+name: PR Mirror and Repo Sync
+
+on:
+ pull_request_target:
+ types: [closed]
+ branches: [rolling, production]
+ 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@production
+ with:
+ sync_branch: ${{ inputs.sync_branch || github.event.pull_request.base.ref }}
+ secrets: inherit