Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 44b7401

Browse files
authored
Merge pull request #49 from kumvijaya/current
T7613: pr mirror workflow manual run option added
2 parents e725b92 + df29d5e commit 44b7401

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,24 @@ on:
55
- closed
66
branches:
77
- current
8-
8+
workflow_dispatch:
9+
inputs:
10+
sync_branch:
11+
description: 'branch to sync'
12+
required: false
13+
type: string
14+
default: 'current'
915
permissions:
1016
pull-requests: write
1117
contents: write
1218
issues: write
13-
1419
jobs:
15-
call-pr-mirror-repo-sync:
20+
call-mirror-pr-repo-sync:
1621
if: github.repository_owner == 'vyos' && github.event.pull_request.merged == true
1722
uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current
18-
secrets: inherit
23+
with:
24+
sync_branch: ${{ inputs.sync_branch }}
25+
secrets:
26+
PAT: ${{ secrets.PAT }}
27+
REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}
28+
REMOTE_REPO: ${{ secrets.REMOTE_REPO }}

0 commit comments

Comments
 (0)