Skip to content

Commit

Permalink
chore: another attempt to fix the CI conditional (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
obmarg authored Apr 7, 2024
1 parent ba61e67 commit 05440d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
build-rust:
if: ${{ !startsWith(github.ref, 'refs/heads/release-plz') || github.event.pull_request.draft == false }}
if: ${{ !github.head_ref || !startsWith(github.head_ref, 'refs/heads/release-plz') || github.event.pull_request.draft == false }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 05440d2

Please sign in to comment.