Skip to content

fix: avoid upstream pin-only refreshes - #56

Merged
vitormattos merged 2 commits into
mainfrom
fix/avoid-upstream-pin-churn
Sep 20, 2026
Merged

vitormattos merged 2 commits into
mainfrom
fix/avoid-upstream-pin-churn

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Avoid opening refresh PRs when the resolved upstream commit changes but the tracked file content does not.

This is the root cause behind #54.

The refresh still downloads the path resolved from the latest upstream commit and verifies its SHA-256. It only updates the immutable URL and stored hash when the content digest actually changes.

This keeps the pinned source stable when the file is unchanged and avoids noisy PRs that contain only commit-URL churn.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos
vitormattos merged commit 9ab86c3 into main Sep 20, 2026
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