Skip to content

Commit

Permalink
[CI] Configure Mergify to use chiselbot as bot account (#3770) (#3796)
Browse files Browse the repository at this point in the history
(cherry picked from commit b3b5ab1)

Co-authored-by: Jack Koenig <koenig@sifive.com>
  • Loading branch information
mergify[bot] and jackkoenig authored Jan 30, 2024
1 parent 51ec8cd commit da8783a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/mergify/gen-config.sc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ import io.circe.yaml.syntax._ // for .asYaml

def mergeQueue(conditions: List[String]) = Json.obj(
"name" -> "default".asJson,
"conditions" -> conditions.asJson
"conditions" -> conditions.asJson,
"update_bot_account" -> "chiselbot".asJson,
"merge_bot_account" -> "chiselbot".asJson
)

val queueAction = Json.obj(
Expand Down
2 changes: 2 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ queue_rules:
- name: default
conditions:
- status-success=all tests passed
update_bot_account: chiselbot
merge_bot_account: chiselbot
pull_request_rules:
- name: automatic squash-and-merge on CI success and review
conditions:
Expand Down

0 comments on commit da8783a

Please sign in to comment.