{"repo":"IonBazan/composer-diff-action","free":true,"listed":false,"github":"https://github.com/IonBazan/composer-diff-action","clone":"git clone https://github.com/IonBazan/composer-diff-action.git","description":"Compare composer.lock files and generate human-readable list of package changes","language":"Shell","stars":23,"topics":["github","markdown","php","diff","composer","packagist","packages","pullrequest","composer-plugin","composer-diff"],"license":"MIT","category":"productivity","readme_excerpt":"Composer Diff action This action compares your composer.lock files and generates human-readable report with packages changed in PR or commit using composer-diff. You may use the action output to annotate your code or add a comment to your Pull Request. Example Here's an example of the Composer Diff Github Action providing feedback on a Pull Request: Note: you must use the actions/checkout step with fetch-depth: 0 as shown below before running the Composer Diff action in order for it to function properly You may set it to 1 if you want to compare only with the previous commit. Inputs This action takes same input arguments as the composer-diff command: - base - base (old) composer.lock path and/or git reference - default: ${{ github.event.pull request.base.sha }} (last commit in base branch of PR) To use it with custom composer.lock path, follow commit hash:path/to/composer.lock convention. - target - target (new) composer.lock path and/or git reference - default: composer.lock (current file version) Follows same convention as base argument - format - output format - either mdtable , mdlist , json , github , or pr - see composer-diff documentation - default: pr - strict - returns non-zero exit code if there are any changes - default: false - no-dev - excludes dev dependencies - default: false - no-prod - excludes prod dependencies - default: false - direct - only show direct dependencies - default: false - with-platform - include platform ( php , ext- ) dependencies - default: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/IonBazan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IonBazan/composer-diff-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}