diff options
Diffstat (limited to '.github/workflows/pr-mirror-repo-sync.yml')
-rw-r--r-- | .github/workflows/pr-mirror-repo-sync.yml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml index e136881b8..7f0012d18 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-trigger-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 }} |