Repository navigation
ci: filter app-only commits out of the release notes - #33
Merged
Merged
Conversation
autonewsmd lists every conventional commit, so the Shiny app's changes showed up as singlehit features in v0.3.0. Run a post-processing script after NEWS.md is generated that drops entries whose commit is scoped app or changed only files under app/, and removes sections left empty.
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.
autonewsmd lists every conventional commit, so the Shiny app's changes appeared as singlehit features in the v0.3.0 notes. This runs a post-processing script after NEWS.md is generated (the reusable release workflow's
news-postprocess-scriptinput) that drops entries whose commit is scopedappor changed only files underapp/, and removes sections left empty. The release PR's dry run also triggers when the script changes.Run against the current NEWS.md it removes exactly the three app entries (Plots tab, Data/Fit/Compare tabs, golem scaffold) and changes nothing else.
Heads-up: autonewsmd regenerates NEWS.md from the full git history on every release, so the next release will also remove those three entries from the already-published v0.3.0 section.
To check on the dry run: the log should show a non-zero
Removed N app-only entries. If the runner's checkout were shallow, entries whose commits cannot be inspected would be kept.