File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-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
58 pull_request :
6- branches : ['*']
9+ branches :
10+ - " **"
711
812defaults :
913 run :
@@ -12,6 +16,10 @@ defaults:
1216permissions :
1317 contents : read
1418
19+ concurrency :
20+ group : " ${{ github.workflow }}-${{ (github.ref == 'refs/heads/try' && github.sha) || github.ref }}"
21+ cancel-in-progress : true
22+
1523jobs :
1624 success :
1725 permissions :
2836 - test
2937 - test_gitoxide
3038 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'"
3240 steps :
3341 - run : echo ok
3442 failure :
4654 - test
4755 - test_gitoxide
4856 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'"
5058 steps :
5159 - run : exit 1
5260
You can’t perform that action at this time.
0 commit comments