Skip to content

Commit f7bed34

Browse files
committed
Improve GitHub Actions CI config
1 parent a383063 commit f7bed34

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: CI
22
on:
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

812
defaults:
913
run:
@@ -12,6 +16,10 @@ defaults:
1216
permissions:
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+
1523
jobs:
1624
success:
1725
permissions:

0 commit comments

Comments
 (0)