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 automation to detect JSON schema breakages #1938

Closed
wagoodman opened this issue Jul 13, 2023 · 0 comments · Fixed by #2240
Closed

Add automation to detect JSON schema breakages #1938

wagoodman opened this issue Jul 13, 2023 · 0 comments · Fixed by #2240
Assignees
Labels
release relating to the release process of syft
Milestone

Comments

@wagoodman
Copy link
Contributor

Today we use chronicle to generate release notes based off of labels on PRs and issues. It would be great to add automation that can auto-label PRs with schema-specific changes. Take for instance this PR https://github.com/anchore/syft/releases/tag/v0.85.0 .
The breaking-change label was manually added to the #1846 but could have been automatically added by automation when a new JSON schema file was added in schema/json and compared the new version to the last version. Adding both the breaking-change and something that indicates the json schema was changed such as a new new-json-schema would be nice. With some changes to chronicle we could add another section that denotes the specific changes that changed the json schema.

@wagoodman wagoodman added the release relating to the release process of syft label Jul 13, 2023
@wagoodman wagoodman added this to the Stabilize user surfaces milestone Jul 27, 2023
@wagoodman wagoodman self-assigned this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release relating to the release process of syft
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant