Skip to content

Commit 23ed444

Browse files
authored
Merge pull request #6466 from Turbo87/cargo-deny
cargo-deny: Run for all push events to the main branch
2 parents 8dc15f4 + 43fc1af commit 23ed444

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ jobs:
8989
name: Backend / cargo-deny
9090
runs-on: ubuntu-22.04
9191
needs: changed-files
92-
if: needs.changed-files.outputs.rust-lockfile == 'true'
93-
94-
env:
95-
RUSTFLAGS: "-D warnings"
92+
if: github.event_name != 'pull_request' || needs.changed-files.outputs.rust-lockfile == 'true'
9693

9794
steps:
9895
- uses: actions/[email protected]

0 commit comments

Comments
 (0)