Skip to content

Commit c60488f

Browse files
committed
Add the try branch to the success and failure bors/job gates
1 parent 14b782d commit c60488f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- test
3838
- test_gitoxide
3939
runs-on: ubuntu-latest
40-
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')"
4141
steps:
4242
- run: echo ok
4343
failure:
@@ -55,7 +55,7 @@ jobs:
5555
- test
5656
- test_gitoxide
5757
runs-on: ubuntu-latest
58-
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')"
5959
steps:
6060
- run: exit 1
6161

0 commit comments

Comments
 (0)