Skip to content

Commit 0364afe

Browse files
authored
ci(mirror-rollout-4): add force_workspace backport companion wrapper (#1211)
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)
1 parent a27ac2a commit 0364afe

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .github/workflows/force-workspace-backport.yml
2+
# DO NOT EDIT — managed by mirror-pipeline Rollout 4.
3+
name: force_workspace backport companion
4+
5+
on:
6+
issue_comment:
7+
types: [created]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
call:
14+
# No-op on the public source (owner != VyOS-Networks); active on the mirrored target copy.
15+
if: |
16+
github.repository_owner == 'VyOS-Networks'
17+
&& github.event.issue.pull_request != null
18+
&& github.event.comment.user.login == 'mergify[bot]'
19+
&& contains(github.event.comment.body, 'No backport have been created')
20+
uses: vyos/.github/.github/workflows/force-workspace-backport.yml@production
21+
with:
22+
mergify_comment_id: ${{ github.event.comment.id }}
23+
mergify_comment_body: ${{ github.event.comment.body }}
24+
target_pr_number: ${{ github.event.issue.number }}
25+
secrets: inherit

0 commit comments

Comments
 (0)