Skip to content

fix(action): improve changelog comparison using git diff#9

Merged
lukemun merged 4 commits into
mainfrom
fix-no-comment
Aug 19, 2025
Merged

fix(action): improve changelog comparison using git diff#9
lukemun merged 4 commits into
mainfrom
fix-no-comment

Conversation

@lukemun
Copy link
Copy Markdown
Owner

@lukemun lukemun commented Aug 19, 2025

• Replace string comparison with git diff for more accurate change detection • Use FETCH_HEAD reference instead of origin/BASE_BRANCH for consistency • Simplify diff output by using native git diff command • Add test script to verify changelog comparison logic

Description

Brief description of the changes in this PR.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Other (please describe):

Testing

  • Added/updated tests for the changes
  • All tests pass locally
  • Tested with a real repository
  • Manual testing completed

Test Details:
Describe how you tested the changes.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Breaking Changes

If this is a breaking change, please describe the impact and migration path for existing users.

Additional Notes

Any additional information that would be helpful for reviewers.

lukemun and others added 3 commits August 19, 2025 10:08
• Replace string comparison with git diff for more accurate change detection
• Use FETCH_HEAD reference instead of origin/BASE_BRANCH for consistency
• Simplify diff output by using native git diff command
• Add test script to verify changelog comparison logic
🤖 Automated by Claude AI
[skip ci]
🤖 Automated by Claude AI
[skip ci]
@github-actions
Copy link
Copy Markdown
Contributor

🏷️ Workflow: Production Version - This changelog was generated using lukemun/context-ledger@v1

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 AI Changelog Ready! Click "Apply suggestion" to append new changes ⬇️

Comment thread CHANGELOG.md Outdated
@github-actions
Copy link
Copy Markdown
Contributor

🧪 Workflow: Local Version - This changelog was generated using the PR's local code (./)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

🧪 Workflow: Local Version - This changelog was generated using the PR's local code (./)

@github-actions
Copy link
Copy Markdown
Contributor

🏷️ Workflow: Production Version - This changelog was generated using lukemun/context-ledger@v1

@lukemun lukemun merged commit ce7779e into main Aug 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant