Skip to content

Commit 48c49fc

Browse files
authored
T8943: migrate pr-mirror wrapper to canonical stub (#1207)
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)
1 parent 8f856a4 commit 48c49fc

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/pr-mirror-repo-sync.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@ name: PR Mirror and Repo Sync
66
on:
77
pull_request_target:
88
types: [closed]
9-
branches: [rolling]
9+
branches: [rolling, production]
1010
workflow_dispatch:
1111
inputs:
1212
sync_branch:
1313
required: true
1414
type: string
1515

1616
permissions:
17-
contents: write
18-
pull-requests: write
19-
issues: write
17+
contents: read
2018

2119
jobs:
2220
call:
2321
if: |
2422
github.repository_owner == 'vyos'
2523
&& (github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch')
26-
&& vars.MIRROR_ENABLED != 'false'
2724
uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@production
2825
with:
2926
sync_branch: ${{ inputs.sync_branch || github.event.pull_request.base.ref }}

0 commit comments

Comments
 (0)