From ef26d0ce9f1770b397b50f991f7358013cff727c Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Tue, 2 Jun 2026 01:02:49 +0300 Subject: ci(mirror-rollout-4): add force_workspace backport companion wrapper (#37) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Source-side wrapper (mirrored to VyOS-Networks/ipaddrcheck) that triggers the public vyos/.github force_workspace reusable on Mergify backport-conflict comments. Inert on this public source (owner guard); active on the mirrored target. force_workspace_enabled is per-consumer (consumers.yaml), default false. 🤖 Generated by [robots](https://vyos.io) --- .github/workflows/force-workspace-backport.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/force-workspace-backport.yml 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 -- cgit v1.2.3