Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't run
cargo fmt --all
in pre-commit hook (vercel#3403)
This action started failing because `cargo fmt` was added to the pre-commit hook and the tool is not available without running Rust setup. Instead, we should just skip applying hooks when creating commits from this workflow. ~Since the create-pull-request doesn't have a way of disabling hooks, simply remove the file before husky installs it into place.~ Let `cargo fmt` run on individual files through lint-staged, but don't run it on everything on every precommit. Test Plan: Manual workflow run on this branch which opened vercel#3401
- Loading branch information