diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-07-10 06:53:37 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 06:53:37 +0300 |
| commit | 44b74017dfcaff73bb6ccea8ac833015829baef5 (patch) | |
| tree | 2d72d039991a90b4a77e25084963be1bd61bc3fd | |
| parent | e725b92cf92aea5d2326b9ee6b6308e2806f935f (diff) | |
| parent | df29d5ebc8e644bc18cdf2700de54d1a653677b7 (diff) | |
| download | vyos-1x-44b74017dfcaff73bb6ccea8ac833015829baef5.tar.gz vyos-1x-44b74017dfcaff73bb6ccea8ac833015829baef5.zip | |
Merge pull request #49 from kumvijaya/current
T7613: pr mirror workflow manual run option added
| -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 |
