summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-06-01 02:00:43 +0300
committerGitHub <noreply@github.com>2026-06-01 02:00:43 +0300
commit2b2922a2f0bc2f34b26dc6f7739af53accaaef3a (patch)
treef4329cbb1cd77c09e765a2463bba0893b2a94bf9 /.github/workflows
parent4cf6bd8d69cbd4010e4c73e768aed067c1ce6907 (diff)
downloadvyos-1x-2b2922a2f0bc2f34b26dc6f7739af53accaaef3a.tar.gz
vyos-1x-2b2922a2f0bc2f34b26dc6f7739af53accaaef3a.zip
T8943: migrate pr-mirror wrapper to canonical stub (#5243)
Mirror Pipeline Rollout 2 Task 6. Uniform canonical wrapper: trigger branches [rolling, production], permissions: contents: read, drop redundant wrapper-level MIRROR_ENABLED guard (now central). 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr-mirror-repo-sync.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml
index 5320e0122..0f16633f8 100644
--- a/.github/workflows/pr-mirror-repo-sync.yml
+++ b/.github/workflows/pr-mirror-repo-sync.yml
@@ -6,7 +6,7 @@ name: PR Mirror and Repo Sync
on:
pull_request_target:
types: [closed]
- branches: [rolling]
+ branches: [rolling, production]
workflow_dispatch:
inputs:
sync_branch:
@@ -14,16 +14,13 @@ on:
type: string
permissions:
- contents: write
- pull-requests: write
- issues: write
+ contents: read
jobs:
call:
if: |
github.repository_owner == 'vyos'
&& (github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch')
- && vars.MIRROR_ENABLED != 'false'
uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@production
with:
sync_branch: ${{ inputs.sync_branch || github.event.pull_request.base.ref }}