Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Dec 26, 2025

Fixes the changelog preview workflow and --pr flag to properly respect the #skip-changelog magic word.

Changes

  • Fix inputs context error in workflow (not available for pull_request trigger)
  • Add prSkipped field to JSON output when PR is excluded
  • Show "This PR will not appear in the changelog" message when PR is skipped
  • Consolidate skip logic into shouldExcludePR with new body parameter
  • Early-exit in generateChangelogWithHighlight to skip unnecessary work

Follow-up to #669.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 26, 2025

Suggested Version Bump

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@BYK BYK changed the title ref: Use the proper install action version in workflow fix(changelog): Handle #skip-changelog in preview workflow Dec 26, 2025
BYK added 3 commits December 26, 2025 23:53
- Fix inputs context error in workflow (not available for pull_request trigger)
- Add prSkipped field to JSON output when PR is excluded
- Show 'This PR will not appear in the changelog' message when PR is skipped
- Consolidate skip logic into shouldExcludePR with new body parameter
- Early-exit in generateChangelogWithHighlight but still determine bump type
- Skipped PRs still contribute to version bumping based on their title
Consolidates bump type determination logic into a reusable function
that can be used for both skipped and regular PRs.
- feat/fix with scope
- docs/chore prefixes
- label vs title pattern precedence
@BYK BYK merged commit 771c413 into master Dec 26, 2025
14 checks passed
@BYK BYK deleted the byk/ref/use-proper-install-version branch December 26, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants