Repository navigation
Fix fetch_refs assigning same tag to both old_ref and new_ref - #975
Merged
Merged
Conversation
trofim24
force-pushed
the
fix/fetch-refs-same-tag-bug
branch
2 times, most recently
from
June 29, 2026 08:47
1ee5e23 to
182becb
Compare
fetch_refs used latest_tag (per_page: 1) for both refs, so old_ref == new_ref always, producing no diff output. Now fetch_refs only fills new_ref from latest tag (for single-ref usage like `/get_changes v1.0`). When no refs are provided, bot returns a message asking user to specify versions. Also add usage examples to README.
trofim24
force-pushed
the
fix/fetch-refs-same-tag-bug
branch
from
June 29, 2026 09:31
182becb to
95c1c5f
Compare
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.
fetch_refs used latest_tag (per_page: 1) for both refs, so old_ref == new_ref always, producing no diff output.
Now fetch_refs only fills new_ref from latest tag (for single-ref usage like
/get_changes v1.0). When no refs are provided, bot returns a message asking user to specify versions.Also add usage examples to README.