summaryrefslogtreecommitdiff
path: root/.github/workflows/mirror-pr-and-sync.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mirror-pr-and-sync.yml')
-rw-r--r--.github/workflows/mirror-pr-and-sync.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/mirror-pr-and-sync.yml b/.github/workflows/mirror-pr-and-sync.yml
new file mode 100644
index 000000000..48a67a43f
--- /dev/null
+++ b/.github/workflows/mirror-pr-and-sync.yml
@@ -0,0 +1,26 @@
+name: Create Mirror PR and Repo Sync
+on:
+ workflow_dispatch:
+ inputs:
+ pr_number:
+ description: 'Source repo PR Number'
+ required: true
+ type: string
+ sync_branch:
+ description: 'branch to sync'
+ required: true
+ type: string
+
+permissions:
+ pull-requests: write
+ contents: write
+
+jobs:
+ call-mirror-pr-and-sync:
+ if: github.repository_owner != 'vyos'
+ uses: VyOS-Networks/vyos-reusable-workflows/.github/workflows/mirror-pr-and-sync.yml@main
+ with:
+ pr_number: ${{ inputs.pr_number }}
+ sync_branch: ${{ inputs.sync_branch }}
+ secrets:
+ PAT: ${{ secrets.PAT }}