Filter CI on PR contents + Mergify support
This commit is contained in:
committed by
mergify-bot
parent
46d902943e
commit
3e7fbe2925
24
.mergify.yml
Normal file
24
.mergify.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
pull_request_rules:
|
||||
# For Chipyard version 1.x.y, here let x = minor, y = patch
|
||||
# Only support backporting to the last minor release branch.
|
||||
# This rule will need to be updated on minor releases.
|
||||
- name: backport to latest minor release
|
||||
conditions:
|
||||
- merged
|
||||
- base=main
|
||||
- label="Please Backport"
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- 1.13.x
|
||||
ignore_conflicts: True
|
||||
label_conflicts: "bp-conflict"
|
||||
label:
|
||||
add: [Backported]
|
||||
|
||||
- name: label Mergify backport PR
|
||||
conditions:
|
||||
- body~=This is an automated backport of pull request \#\d+ d
|
||||
actions:
|
||||
label:
|
||||
add: [Backport]
|
||||
Reference in New Issue
Block a user