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

Add an option to let go remote signer respond directly through webhooks. #89

Conversation

zhenlu
Copy link
Contributor

@zhenlu zhenlu commented Mar 22, 2024

No description provided.

Copy link
Contributor Author

zhenlu commented Mar 22, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @zhenlu and the rest of your teammates on Graphite Graphite

@zhenlu zhenlu requested review from mhrheaume and yunyuyunyu March 22, 2024 19:02
if webhook.EventType != objects.WebhookEventTypeRemoteSigning {
return "", errors.New("webhook event is not for remote signing")
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need validator.ShouldSign in this method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TBH I don't think this validator interface is needed at all. But I'll add it here as well for consistence purpose.

@zhenlu zhenlu force-pushed the 03-22-Add_an_option_to_let_go_remote_signer_respond_directly_through_webhooks branch from 1074ca1 to 2d72f63 Compare March 22, 2024 20:48
@zhenlu zhenlu merged commit f73b96f into main Mar 22, 2024
3 checks passed
@zhenlu zhenlu deleted the 03-22-Add_an_option_to_let_go_remote_signer_respond_directly_through_webhooks branch March 22, 2024 21:03
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.

2 participants