diff options
| author | kumvijaya <kuvmijaya@gmail.com> | 2025-07-09 23:49:43 +0530 |
|---|---|---|
| committer | kumvijaya <kuvmijaya@gmail.com> | 2025-07-09 23:49:43 +0530 |
| commit | 699932978ddac3b08f066884cbb785a3a5b67e39 (patch) | |
| tree | 4608d9efa4a0bb1dd9252ead748657410f30af70 /.github/workflows | |
| parent | e725b92cf92aea5d2326b9ee6b6308e2806f935f (diff) | |
| download | vyos-1x-699932978ddac3b08f066884cbb785a3a5b67e39.tar.gz vyos-1x-699932978ddac3b08f066884cbb785a3a5b67e39.zip | |
T7613: pr mirror workflow manual run option added
Diffstat (limited to '.github/workflows')
| -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..93248f3c5 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-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 }}
\ No newline at end of file |
