diff options
| -rw-r--r-- | .github/workflows/pr-mirror-repo-sync.yml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml index 5ab350a0e..184d878d4 100644 --- a/.github/workflows/pr-mirror-repo-sync.yml +++ b/.github/workflows/pr-mirror-repo-sync.yml @@ -5,14 +5,24 @@ on: - closed branches: - current - + workflow_dispatch: + inputs: + sync_branch: + description: 'branch to sync' + required: false + type: string + default: 'current' permissions: pull-requests: write contents: write issues: write - jobs: - call-pr-mirror-repo-sync: + call-mirror-pr-repo-sync: if: github.repository_owner == 'vyos' && github.event.pull_request.merged == true uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current - secrets: inherit + with: + sync_branch: ${{ inputs.sync_branch }} + secrets: + PAT: ${{ secrets.PAT }} + REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} + REMOTE_REPO: ${{ secrets.REMOTE_REPO }}
\ No newline at end of file |
