Skip to content

Commit

Permalink
Add the try branch to the success and failure bors/job gates
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Jan 18, 2024
1 parent 14b782d commit c60488f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- test
- test_gitoxide
runs-on: ubuntu-latest
if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try')"
steps:
- run: echo ok
failure:
Expand All @@ -55,7 +55,7 @@ jobs:
- test
- test_gitoxide
runs-on: ubuntu-latest
if: "!success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
if: "!success() && github.event_name == 'push' && (github.ref == 'refs/heads/auto-cargo' || github.ref == 'refs/heads/try')"
steps:
- run: exit 1

Expand Down

0 comments on commit c60488f

Please sign in to comment.