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