File tree 1 file changed +10
-13
lines changed 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ name: CI
2
2
3
3
on :
4
4
pull_request :
5
- push :
6
- branches :
7
- - staging
8
- - trying
5
+ merge_group :
9
6
10
7
jobs :
11
8
check :
@@ -52,12 +49,12 @@ jobs:
52
49
components : rustfmt
53
50
- run : cargo fmt --check
54
51
55
- # https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
56
- end-success :
57
- name : bors build finished
58
- if : success()
59
- runs-on : ubuntu-latest
60
- needs : [check, test]
61
- steps :
62
- - name : Mark the job as successful
63
- run : exit 0
52
+ # Used to signal to branch protections that all other jobs have succeeded.
53
+ all-jobs-succeed :
54
+ name : All checks succeeded
55
+ if : success()
56
+ runs-on : ubuntu-latest
57
+ needs : [check, msrv, test, check-format ]
58
+ steps :
59
+ - name : Mark the job as successful
60
+ run : exit 0
You can’t perform that action at this time.
0 commit comments