When deleting a branch, there is no need to run cargo fmt and cargo clippy, so we should skip those checks. On the other hand, we should prevent the main branch from being deleted, so a check is added to prepush. In addition, the indent of all the scripts are updated to 4 spaces.
When deleting a branch, there is no need to run
cargo fmt
andcargo clippy
, so we should skip those checks. On the other hand, we should prevent the main branch from being deleted, so a check is added to prepush. In addition, the indent of all the scripts are updated to 4 spaces.