blob: 48a67a43f01d4ea48d032dc4db51431c81e85109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 }}
|