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 schema validation for relgen #6345

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

josh-heyer
Copy link
Contributor

@josh-heyer josh-heyer commented Dec 12, 2024

What Changed?

This may not be the nicest way of handling errors, but it has the distinct advantages of allowing for in-editor warnings when using VSCode, which is nicer than dealing with error messages anyway.

also:

  • show warnings / errors in GitHub when running from Actions

  • allow running from npm

Reviewing

Pull locally, then from VSCode terminal run

npm i

then

npm run releasenotes:generate-all

Should have clickable links to non-compliant files with vaguely relevant line and column numbers. Click them, get reasonable-ish errors shown inline.

@josh-heyer josh-heyer requested a review from a team as a code owner December 12, 2024 03:50
@josh-heyer josh-heyer force-pushed the automation/josh/validation-for-relgen branch from d9b8878 to 8bba8ca Compare December 12, 2024 03:58
@josh-heyer josh-heyer requested review from djw-m and removed request for a team December 12, 2024 04:01
@djw-m djw-m force-pushed the automation/josh/validation-for-relgen branch 3 times, most recently from 4db8c43 to 7ff304e Compare January 9, 2025 09:37
Copy link
Contributor

@djw-m djw-m left a comment

Choose a reason for hiding this comment

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

With the node version issue isolated, this is

LGTM

josh-heyer and others added 3 commits January 13, 2025 19:24
also:

- show warnings / errors in GitHub when running from Actions

- allow running from npm
Signed-off-by: Dj Walker-Morgan <dj.walker-morgan@enterprisedb.com>
@josh-heyer josh-heyer force-pushed the automation/josh/validation-for-relgen branch from 7ff304e to eade724 Compare January 13, 2025 20:39
@josh-heyer josh-heyer added the deploy Add this label to a PR and it will automatically be deployed to netlify label Jan 13, 2025
@josh-heyer josh-heyer merged commit 1d5ff9f into develop Jan 13, 2025
4 checks passed
@josh-heyer josh-heyer deleted the automation/josh/validation-for-relgen branch January 13, 2025 20:51
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Add this label to a PR and it will automatically be deployed to netlify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants