Skip to content

fix: prevent changelog cascade updates #24

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

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

PeterVinter
Copy link
Owner

Changes

Updated the changelog workflow to prevent cascading updates by:

  1. Adding a condition to skip PRs that are changelog updates (docs: update changelog for v*)
  2. Adding a check to skip changes that only modify CHANGELOG.md

Benefits

  • Prevents infinite loop of changelog updates
  • Reduces noise in version history
  • Maintains clean git history

Testing

  • Verify workflow skips changelog-only PRs
  • Verify workflow still runs on regular PRs
  • Check version increments still work correctly

Add conditions to prevent workflow from running on:
1. Changelog-only changes
2. PRs that update the changelog

This prevents the cascading effect where each changelog
update triggers another update.
@PeterVinter PeterVinter merged commit 1161c48 into main Nov 19, 2024
4 checks passed
@PeterVinter PeterVinter deleted the fix/prevent-changelog-cascade branch November 19, 2024 22:57
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