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

chore: prepush commit signing #990

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Conversation

yogurtandjam
Copy link
Contributor

sometimes, rarely, commits sneak into PR's unsigned. this is annoying https://dydx-team.slack.com/archives/C06S9ND5T40/p1725897065808209

quick script to prevent this from happening

@yogurtandjam yogurtandjam requested a review from a team as a code owner September 9, 2024 17:03
Copy link

vercel bot commented Sep 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 5:51pm
v4-testnet 🛑 Canceled (Inspect) Sep 9, 2024 5:51pm

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to check at the pre-commit? I think this pre-push script is a good idea so they can go back and reconcile, but it would be ideal to know before even committing.

Copy link
Contributor Author

@yogurtandjam yogurtandjam Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaredvu i'm not 100% sure how that would work - in a pre-commit hook, the commit isn't created yet so idk if we can reliably tell if it's signed. we can check if commit signing is enabled but i'm not sure how reliable that would be

@yogurtandjam yogurtandjam merged commit 88a6024 into main Sep 11, 2024
8 checks passed
@yogurtandjam yogurtandjam deleted the jerms/prepush-commit-signing branch September 11, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants