ci: update github-tools changelog-check workflow to bfb5e6f #7076
+2
−2
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.
Explanation
Updates the
github-toolschangelog-check workflow to fix detection ofdevDependencies-only changes inpackage.json.What's Fixed
The previous version failed to properly detect when
package.jsonchanges were only indevDependenciesbecause the git diff logic required both the start and end of thedevDependenciessection to be visible. With limited diff context (-U20), the closing brace was often not included in the diff output.The new version increases git diff context from
-U20to-U9999to ensure section headers are always visible, allowing proper detection of devDependencies-only changes.Changes
MetaMask/github-tools/.github/workflows/changelog-check.ymlfromfc6fe1atobfb5e6f(PRs containing the fix PR1, PR2)References
Checklist
Note
Updates the changelog-check GitHub Actions workflow to use MetaMask/github-tools commit c0ec1c3.
changelog-checkreusable workflow reference andaction-shatoc0ec1c3in.github/workflows/changelog-check.yml.Written by Cursor Bugbot for commit 44a036e. This will update automatically on new commits. Configure here.