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 11name : CI
22on :
33 push :
4- branches-ignore : [master]
4+ branches :
5+ - auto-cargo
6+ - try
7+ - automation/bors/try
8+ - " rust-**"
59 pull_request :
6- branches : ['*']
10+ branches :
11+ - " **"
712
813defaults :
914 run :
@@ -12,6 +17,10 @@ defaults:
1217permissions :
1318 contents : read
1419
20+ concurrency :
21+ group : " ${{ github.workflow }}-${{ (github.ref == 'refs/heads/try' && github.sha) || github.ref }}"
22+ cancel-in-progress : true
23+
1524jobs :
1625 success :
1726 permissions :
2837 - test
2938 - test_gitoxide
3039 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'"
3241 steps :
3342 - run : echo ok
3443 failure :
4655 - test
4756 - test_gitoxide
4857 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'"
5059 steps :
5160 - run : exit 1
5261
You can’t perform that action at this time.
0 commit comments