summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasklymenko <a.klymenko@vyos.io>2026-10-23 17:49:55 +0300
committerasklymenko <a.klymenko@vyos.io>2026-10-23 17:49:55 +0300
commit213ad97c7ecd49977e7f833a0cb6ddf20fc7dda0 (patch)
tree100cad5e652a12bdfb8bdbb5506d2f3da105a880
parentd3b93c2c2f4c99dbaa06a6f4cbca4308dd490b44 (diff)
downloadefi-boot-shim-T861.tar.gz
efi-boot-shim-T861.zip
T861: enable mirroring for Secure Boot related repo [efi-boot-shim]T861
-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 00000000..0f16633f
--- /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