diff options
| author | Yuriy Andamasov <andamasov@gmail.com> | 2026-06-02 02:20:03 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-02 02:20:03 +0300 |
| commit | 2359ccfe6c3125417ef6e2f3b1762fbe045bb5c6 (patch) | |
| tree | b7573e72c43d36ecdaee211a3b2ca9e6f5fda1fe /.github/workflows | |
| parent | 9445b003fc80deb580654780dd719303a76b41ab (diff) | |
| download | vyos-http-api-tools-2359ccfe6c3125417ef6e2f3b1762fbe045bb5c6.tar.gz vyos-http-api-tools-2359ccfe6c3125417ef6e2f3b1762fbe045bb5c6.zip | |
ci(mirror-rollout-4): add force_workspace backport companion wrapper (#53)
Source-side wrapper (mirrored to the VyOS-Networks twin) for the public
vyos/.github force_workspace reusable. Inert on this public source (owner
guard); active on the mirror. force_workspace_enabled per-consumer (default false).
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/force-workspace-backport.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/force-workspace-backport.yml b/.github/workflows/force-workspace-backport.yml new file mode 100644 index 0000000..37fba9f --- /dev/null +++ b/.github/workflows/force-workspace-backport.yml @@ -0,0 +1,25 @@ +# .github/workflows/force-workspace-backport.yml +# DO NOT EDIT — managed by mirror-pipeline Rollout 4. +name: force_workspace backport companion + +on: + issue_comment: + types: [created] + +permissions: + contents: read + +jobs: + call: + # No-op on the public source (owner != VyOS-Networks); active on the mirrored target copy. + if: | + github.repository_owner == 'VyOS-Networks' + && github.event.issue.pull_request != null + && github.event.comment.user.login == 'mergify[bot]' + && contains(github.event.comment.body, 'No backport have been created') + uses: vyos/.github/.github/workflows/force-workspace-backport.yml@production + with: + mergify_comment_id: ${{ github.event.comment.id }} + mergify_comment_body: ${{ github.event.comment.body }} + target_pr_number: ${{ github.event.issue.number }} + secrets: inherit |
