[Tooling] Output changelog validation check into the PR automatically#596
[Tooling] Output changelog validation check into the PR automatically#596
Conversation
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Olshansk
left a comment
There was a problem hiding this comment.
This is what you call automation.
REALLY REALLY 🆒
| needs: validate | ||
| if: always() | ||
| steps: | ||
| - name: Verify changelogs KO |
There was a problem hiding this comment.
"KO" 🥊: knock-out, usually used to define a bad outcome, contrary to the "OK"
Am I that old? Mmmmmmkay!
There was a problem hiding this comment.
Haha, that's what I had assumed but had to make sure.
I used to box when I was a kid :)
| uses: actions/github-script@v5 | ||
| with: | ||
| script: | | ||
| const result = `<!-- validate_review -->The changelog validation failed with the following output: |
There was a problem hiding this comment.
Should we use validate_review_chaenlogs as the unique identifier?
I can see us following this pattern for other times of comments as well
There was a problem hiding this comment.
Side note: I'm on the waitlist for https://reviewpad.com/openai-waitlist
There was a problem hiding this comment.
Cool! (I think reviews are going to get quite noisy, I am curious tho)
Re: ChatGPT... So far my experience hasn't been great, I had a couple of hiccups with this PR and I asked for help... the results made sense but just didn't work. I'll keep trying, if anything, it could be inspiration
There was a problem hiding this comment.
Keep trying. It's just a new skill we have to learn.
Olshansk
left a comment
There was a problem hiding this comment.
Excited to take this for a match 🥊
…#596) ## Description This PR improves DevX by outputting the result of a changelog validation into the PR and requesting changes:  Once the check is successful, the automatically added review comments are dismissed The commits of this PR are also included in #577 ## Issue None because developed in < 4h ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library - [ ] Bug fix - [ ] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> ## List of changes - Updated changelog-verify.yaml to automatically review / dismiss changelog specific reviews ## Testing - [ ] `make develop_test` - [ ] [LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) w/ all of the steps outlined in the `README` ## Required Checklist - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added, or updated, [`godoc` format comments](https://go.dev/blog/godoc) on touched members (see: [tip.golang.org/doc/comment](https://tip.golang.org/doc/comment)) - [ ] I have tested my changes using the available tooling - [ ] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) --------- Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
…pokt-network#596) ## Description This PR improves DevX by outputting the result of a changelog validation into the PR and requesting changes:  Once the check is successful, the automatically added review comments are dismissed The commits of this PR are also included in pokt-network#577 ## Issue None because developed in < 4h ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library - [ ] Bug fix - [ ] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> ## List of changes - Updated changelog-verify.yaml to automatically review / dismiss changelog specific reviews ## Testing - [ ] `make develop_test` - [ ] [LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) w/ all of the steps outlined in the `README` ## Required Checklist - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added, or updated, [`godoc` format comments](https://go.dev/blog/godoc) on touched members (see: [tip.golang.org/doc/comment](https://tip.golang.org/doc/comment)) - [ ] I have tested my changes using the available tooling - [ ] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) --------- Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Description
This PR improves DevX by outputting the result of a changelog validation into the PR and requesting changes:
Once the check is successful, the automatically added review comments are dismissed
The commits of this PR are also included in #577
Issue
None because developed in < 4h
Type of change
Please mark the relevant option(s):
List of changes
Testing
make develop_testREADMERequired Checklist
godocformat comments on touched members (see: tip.golang.org/doc/comment)If Applicable Checklist
shared/docs/*if I updatedshared/*README(s)