Skip to content

Commit

Permalink
chore: mergify fixes (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Jan 4, 2024
1 parent 3a6ec62 commit 114108d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 54 deletions.
96 changes: 48 additions & 48 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@ pull_request_rules:
- check-success=build
- base=main
- check-success=Validate PR title
- or:
- check-success=build-bedrock
- check-skipped=build-bedrock
- or:
- check-success=build-checks
- check-skipped=build-checks
- or:
- check-success=build-containers
- check-skipped=build-containers
- or:
- check-success=build-fifoqueue
- check-skipped=build-fifoqueue
- or:
- check-success=build-github
- check-skipped=build-github
- or:
- check-success=build-postgres
- check-skipped=build-postgres
- or:
- check-success=build-redis
- check-skipped=build-redis
- or:
- check-success=build-websockets
- check-skipped=build-websockets
- -check-failure=build-bedrock
- -check-pending=build-bedrock
- -check-stale=build-bedrock
- -check-failure=build-checks
- -check-pending=build-checks
- -check-stale=build-checks
- -check-failure=build-containers
- -check-pending=build-containers
- -check-stale=build-containers
- -check-failure=build-fifoqueue
- -check-pending=build-fifoqueue
- -check-stale=build-fifoqueue
- -check-failure=build-github
- -check-pending=build-github
- -check-stale=build-github
- -check-failure=build-postgres
- -check-pending=build-postgres
- -check-stale=build-postgres
- -check-failure=build-redis
- -check-pending=build-redis
- -check-stale=build-redis
- -check-failure=build-websockets
- -check-pending=build-websockets
- -check-stale=build-websockets
- name: requires manual merge
conditions:
- files=.mergify.yml
Expand All @@ -70,30 +70,30 @@ pull_request_rules:
- -approved-reviews-by~=author
- base=main
- check-success=Validate PR title
- or:
- check-success=build-bedrock
- check-skipped=build-bedrock
- or:
- check-success=build-checks
- check-skipped=build-checks
- or:
- check-success=build-containers
- check-skipped=build-containers
- or:
- check-success=build-fifoqueue
- check-skipped=build-fifoqueue
- or:
- check-success=build-github
- check-skipped=build-github
- or:
- check-success=build-postgres
- check-skipped=build-postgres
- or:
- check-success=build-redis
- check-skipped=build-redis
- or:
- check-success=build-websockets
- check-skipped=build-websockets
- -check-failure=build-bedrock
- -check-pending=build-bedrock
- -check-stale=build-bedrock
- -check-failure=build-checks
- -check-pending=build-checks
- -check-stale=build-checks
- -check-failure=build-containers
- -check-pending=build-containers
- -check-stale=build-containers
- -check-failure=build-fifoqueue
- -check-pending=build-fifoqueue
- -check-stale=build-fifoqueue
- -check-failure=build-github
- -check-pending=build-github
- -check-stale=build-github
- -check-failure=build-postgres
- -check-pending=build-postgres
- -check-stale=build-postgres
- -check-failure=build-redis
- -check-pending=build-redis
- -check-stale=build-redis
- -check-failure=build-websockets
- -check-pending=build-websockets
- -check-stale=build-websockets
actions:
comment:
message: Thank you for contributing! Your pull request contains mergify
Expand Down
9 changes: 3 additions & 6 deletions mergify.w
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ pub class MergifyWorkflow {
let buildChecks = MutArray<Json>[];
buildChecks.push("check-success=Validate PR title");
for lib in libs {
buildChecks.push(Json {
"or": [
"check-success=build-{lib}",
"check-skipped=build-{lib}",
]
});
buildChecks.push("-check-failure=build-{lib}");
buildChecks.push("-check-pending=build-{lib}");
buildChecks.push("-check-stale=build-{lib}");
}

fs.writeYaml(".mergify.yml", {
Expand Down

0 comments on commit 114108d

Please sign in to comment.