Repository navigation
Annotate errors and warnings from the changelog action - #217
Merged
Merged
Conversation
Only breaking wrote inline annotations, so a changelog workflow, which is what the Pro example used, put nothing on the Files changed tab. changelog now writes them for the changes at error and warning level. Info changes are left out: a changelog can hold one per added property. The annotation format also writes error_count, warning_count and info_count to GITHUB_OUTPUT. This action does not declare those outputs and its info_count would be wrong with info filtered out, so that file is pointed away for this one render. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #216.
Only
breakingwrote inline annotations. Achangelogworkflow, which is what the Pro example used until #216, put nothing on the Files changed tab, so the PR comment was the only place its changes appeared.changelognow writes the same annotations for the changes at error and warning level:Info changes are left out. A changelog can hold one per added property (the demo spec has 8 info changes next to its 3 errors), and a notice for each would bury the ones that matter.
This is a visible change for existing
changelogworkflows: pull requests with error or warning changes get annotations they did not get before. The action's outputs, exit code and report are unchanged. The annotation format writeserror_count,warning_countandinfo_counttoGITHUB_OUTPUT; this action does not declare those and itsinfo_countwould be wrong with info filtered out, so they are kept out, and a test asserts it.It costs one more oasdiff run per job on this action, the same one
breakingalready makes.🤖 Generated with Claude Code