Skip to content

Commit 5a5d5c7

Browse files
committed
Add backport bot to vscode-csharp
1 parent 772e41b commit 5a5d5c7

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/backport.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}
18+
uses: dotnet/arcade/.github/workflows/backport-base.yml@main
19+
with:
20+
pr_description_template: |
21+
Backport of #%source_pr_number% to %target_branch%
22+
23+
/cc %cc_users%
24+
25+
## Customer Impact
26+
27+
## Regression
28+
29+
- [ ] Yes
30+
- [ ] No
31+
32+
[If yes, specify when the regression was introduced. Provide the PR or commit if known.]
33+
34+
## Testing
35+
36+
[How was the fix verified? How was the issue missed previously? What tests were added?]
37+
38+
## Risk
39+
40+
[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

0 commit comments

Comments
 (0)