-
Notifications
You must be signed in to change notification settings - Fork 6
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
Open PRs on known SDKs when the vectors change #88
Conversation
b88d519
to
eab9104
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
impressive stuff! mostly go nits. going to trust that you've tested this
All of this has been manually tested. I did not write unit tests for this. |
reports/sync.go
Outdated
// these should be consts but the library expects a pointer to a string, which cannot be done with a const | ||
var ( | ||
vectorUpdatePRTitle = "update test vectors" | ||
vectorUpdatePRBody = "some test vectors were changed or added to the sdk-development repo, so they need to be updated in this repo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vectorUpdatePRBody = "some test vectors were changed or added to the sdk-development repo, so they need to be updated in this repo" | |
vectorUpdatePRBody = "Some test vectors were changed or added to the sdk-development repo, so they need to be updated in this repo. This is an automated PR that keeps the test vectors in sync from the main test-vectors location: https://github.com/TBD54566975/sdk-development/tree/main/web5-test-vectors" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I modified this slightly to make use of markdown links. Sample here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome
d2cf7bc
to
2357cbb
Compare
This will cause github actions to open PRs on web5-kt and web5-js when the vectors are updated in this repo. The PRs look like this.