Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre push hook #1786

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Pre push hook #1786

wants to merge 2 commits into from

Conversation

Clendenin
Copy link

@Clendenin Clendenin commented May 12, 2024

This PR:

Adds a git hook tool for validating pushes to origin remote (as defined by the user)

Goal:

To early warn a user that their code will not pass PR workflows. This thereby reduces strain on the workflows and the number of times a maintainer must be requested to initiate the workflows.

Passing Example Output

git_hook_passing

Cargo fmt Failure Example Output

git_hook_cargo_fmt_fail

Clippy Failure Example Output

git_hook_clippy_fail

@Clendenin Clendenin requested a review from a team as a code owner May 12, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant