Simek / yarn-lock-changes

Creates a comment inside Pull Request with the human-readable summary of changes to the Yarn lock file. Works with every Yarn version (classic and berry).
https://github.com/marketplace/actions/yarn-lock-changes
MIT License
132 stars 20 forks source link

fix `updateComment` when there are comments for multiple locks #30

Closed Simek closed 3 years ago

Simek commented 3 years ago

Fixes #29

This PR should fix the issue with updateComment flag, when there are multiple yarn-lock-changes on different locks in the same workflow.

Earlier, the comments to edit were matched by the hardcoded header, now the lock path will be a part of the header which should solve the comment match issue, as well as make the recently added lock note redundant.

github-actions[bot] commented 3 years ago

yarn.lock changes

Click to toggle table visibility
| Name | Status | Previous | Current | | :- | :-: | :-: | :-: | | `@eslint/eslintrc` | [UPDATED](#) | 0.4.2 | 0.4.3 | | `eslint` | [UPDATED](#) | 7.30.0 | 7.31.0 |