summaryrefslogtreecommitdiff
path: root/.github/workflows/mirror-pr-and-sync.yml
blob: 120e116d4aa52ae0313f55c3043fea11be9f9a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Create Mirror PR and Repo Sync
on:
  workflow_dispatch:
    inputs:
      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:
      sync_branch: ${{ inputs.sync_branch }}
    secrets:
      PAT: ${{ secrets.PAT }}