Skip to content

Conversation

@paulRbr
Copy link
Member

@paulRbr paulRbr commented Dec 16, 2025

This commit includes more information in the current “docDigest” which
is used to differentiate github diff comments for each docs that are
diffed with the github action.

We had the “hub” context encoded in the digest, but forgot the
“branch” name. This could lead to an inconsistant comment if one tries
to execute two diff commands, with two differnt branch name. Only the
second diff comment would be visible on the PR (instead of two
comments one for each branch).

The commit also moves the “doc digest” computation inside the Repo
class instead of the main code.

Copy link
Contributor

@fbraure fbraure left a comment

Choose a reason for hiding this comment

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

Nice ! Thanks for the catch and the fix 🙏

This commit includes more information in the current “docDigest” which
is used to differentiate github diff comments for each docs that are
diffed with the github action.

We had the “hub” context encoded in the digest, but forgot the
“branch” name. This could lead to an inconsistant comment if one tries
to execute two diff commands, with two differnt branch name. Only the
second diff comment would be visible on the PR (instead of two
comments one for each branch).

The commit also moves the “doc digest” computation inside the `Repo`
class instead of the main code.
@paulRbr paulRbr enabled auto-merge (rebase) December 16, 2025 15:30
@paulRbr paulRbr merged commit 96ad9ff into bump-sh:main Dec 16, 2025
4 checks passed
@paulRbr paulRbr deleted the improve-doc-digest branch December 16, 2025 16:19
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.

2 participants