Skip to content

Commit 47bed95

Browse files
Add backport workflow (#11691)
Mirrors dotnet/maui's setup. Maintainers can comment on a merged PR with: /backport to release/<branch> to trigger the shared Arcade backport workflow, which cherry-picks the PR to the target branch and opens a new PR (or comments with conflict instructions if it cannot apply cleanly). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5f30778 commit 47bed95

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/backport.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Backport PR to branch
2+
on:
3+
issue_comment:
4+
types: [created]
5+
schedule:
6+
# once a day at 13:00 UTC to cleanup old runs
7+
- cron: '0 13 * * *'
8+
9+
permissions:
10+
contents: write
11+
issues: write
12+
pull-requests: write
13+
actions: write
14+
15+
jobs:
16+
backport:
17+
if: github.repository_owner == 'dotnet'
18+
uses: dotnet/arcade/.github/workflows/backport-base.yml@main

0 commit comments

Comments
 (0)