Skip to content

Commit

Permalink
Merge pull request #13 from giggsey/license-list
Browse files Browse the repository at this point in the history
Add `with-licenses` option
  • Loading branch information
IonBazan authored Feb 3, 2025
2 parents d6157c5 + 98aefa7 commit b343eac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ This action takes same input arguments as the [composer-diff command](https://gi
- `no-prod` - excludes prod dependencies - default: `false`
- `with-platform` - include platform (`php`, `ext-*`) dependencies - default: `false`
- `with-links` - adds compare/release URLs - default: `false`
- `with-licenses` - adds license information - default: `false`
- `extra-arguments` - additional arguments to be passed to the command - default: `--ansi` (for colorful output)

## Outputs
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ inputs:
with-links:
description: 'Include compare/release URLs'
required: false
with-licenses:
description: 'Include license information'
required: false
extra-arguments:
description: 'Additional arguments passed to composer diff command'
required: true
Expand All @@ -52,5 +55,6 @@ runs:
- ${{ inputs.no-prod && '--no-prod' || '' }}
- ${{ inputs.with-platform && '--with-platform' || '' }}
- ${{ inputs.with-links && '--with-links' || '' }}
- ${{ inputs.with-licenses && '--with-licenses' || '' }}
- ${{ inputs.strict && '--strict' || '' }}
- ${{ inputs.extra-arguments }}

0 comments on commit b343eac

Please sign in to comment.