Skip to content

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: CI
22

33
on:
44
pull_request:
5-
push:
6-
branches:
7-
- staging
8-
- trying
5+
merge_group:
96

107
jobs:
118
check:
@@ -52,12 +49,12 @@ jobs:
5249
components: rustfmt
5350
- run: cargo fmt --check
5451

55-
# https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
56-
end-success:
57-
name: bors build finished
52+
# Used to signal to branch protections that all other jobs have succeeded.
53+
all-jobs-succeed:
54+
name: All checks succeeded
5855
if: success()
5956
runs-on: ubuntu-latest
60-
needs: [check, test]
57+
needs: [check, msrv, test, check-format]
6158
steps:
6259
- name: Mark the job as successful
6360
run: exit 0

0 commit comments

Comments
 (0)