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

custom lock path note in comment, dependencies bump #28

Closed Simek closed 3 years ago

Simek commented 3 years ago

This PR adds note with the yarn lock path to the comment, if inputPath differs from the default value. This might be helpful in the monorepos with a few detached packages, when more than one package lock has been updated in same PR, and every yarn.lock has it's own action setup.

Additionally I have bumped the dependencies to the latest version which results in small code refactor. @actions/core no has it's own getBooleanInput method, so I have decided to switch to it. However, their version only supports YAML valid Booleans, so it might be a breaking change for the small portion of users, which use on/off, yes/no or y/n as an input value. Fortunate, there will be a quite descriptive error message.

github-actions[bot] commented 3 years ago

yarn.lock changes

Summary

Status Count
ADDED 3
UPDATED 22
REMOVED 4
Click to toggle table visibility
| Name | Status | Previous | Current | | :- | :-: | :-: | :-: | | `@actions/core` | [UPDATED](#) | 1.2.7 | 1.4.0 | | `@actions/github` | [UPDATED](#) | 4.0.0 | 5.0.0 | | `@eslint/eslintrc` | [UPDATED](#) | 0.4.0 | 0.4.2 | | `@humanwhocodes/config-array` | [ADDED](#) | - | 0.5.0 | | `@humanwhocodes/object-schema` | [ADDED](#) | - | 1.2.0 | | `@octokit/core` | [UPDATED](#) | 3.4.0 | 3.5.1 | | `@octokit/openapi-types` | [UPDATED](#) | 6.1.1 | 8.3.0 | | `@octokit/plugin-paginate-rest` | [UPDATED](#) | 2.13.3 | 2.14.0 | | `@octokit/plugin-rest-endpoint-methods` | [UPDATED](#) | 4.15.1 | 5.4.1 | | `@octokit/request-error` | [UPDATED](#) | 2.0.5 | 2.1.0 | | `@octokit/request` | [UPDATED](#) | 5.4.15 | 5.6.0 | | `@octokit/types` | [UPDATED](#) | 6.13.2 | 6.19.0 | | `@types/repeat-string` | [REMOVED](#) | 1.6.0 | - | | `css-select` | [UPDATED](#) | 3.1.2 | 4.1.3 | | `css-what` | [UPDATED](#) | 4.0.0 | 5.0.1 | | `domutils` | [UPDATED](#) | 2.6.0 | 2.7.0 | | `escape-string-regexp` | [UPDATED](#) | 1.0.5 | 4.0.0 | | `eslint` | [UPDATED](#) | 7.25.0 | 7.30.0 | | `globals` | [UPDATED](#) | 13.8.0 | 13.10.0 | | `js-base64` | [UPDATED](#) | 3.6.0 | 3.6.1 | | `lodash.flatten` | [REMOVED](#) | 4.4.0 | - | | `lodash.merge` | [ADDED](#) | - | 4.6.2 | | `lodash` | [REMOVED](#) | 4.17.21 | - | | `markdown-table` | [UPDATED](#) | 3.0.0 | 3.0.1 | | `prettier` | [UPDATED](#) | 2.2.1 | 2.3.2 | | `repeat-string` | [REMOVED](#) | 1.6.1 | - | | `svgo` | [UPDATED](#) | 2.3.0 | 2.3.1 | | `table` | [UPDATED](#) | 6.5.1 | 6.7.1 | | `type-fest` | [UPDATED](#) | 0.8.1 | 0.20.2 |