File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
3
push :
4
- branches-ignore : [master]
4
+ branches :
5
+ - auto-cargo
6
+ - try
7
+ - automation/bors/try
8
+ - " rust-**"
5
9
pull_request :
6
- branches : ['*']
10
+ branches :
11
+ - " **"
7
12
8
13
defaults :
9
14
run :
@@ -12,6 +17,10 @@ defaults:
12
17
permissions :
13
18
contents : read
14
19
20
+ concurrency :
21
+ group : " ${{ github.workflow }}-${{ (github.ref == 'refs/heads/try' && github.sha) || github.ref }}"
22
+ cancel-in-progress : true
23
+
15
24
jobs :
16
25
success :
17
26
permissions :
28
37
- test
29
38
- test_gitoxide
30
39
runs-on : ubuntu-latest
31
- if : " success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
40
+ if : " success() && github.event_name == 'push' && ( github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try') && github.repository == 'rust-lang/ cargo'"
32
41
steps :
33
42
- run : echo ok
34
43
failure :
46
55
- test
47
56
- test_gitoxide
48
57
runs-on : ubuntu-latest
49
- if : " !success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
58
+ if : " !success() && github.event_name == 'push' && ( github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try') && github.repository == 'rust-lang/ cargo'"
50
59
steps :
51
60
- run : exit 1
52
61
You can’t perform that action at this time.
0 commit comments