diff --git a/README.md b/README.md index 4c07f99..c46ef34 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ The action has three optional inputs * `log-level`: The log level to use for `cargo-deny`, default is `warn` * `command`: The command to use for `cargo-deny`, default is `check` * `arguments`: The argument to pass to `cargo-deny`, default is `--all-features`. See [Common Options](https://embarkstudios.github.io/cargo-deny/cli/common.html) for a list of the available options. +* `command-arguments` The argument to pass to the command, default is emtpy. See options for [each command](https://embarkstudios.github.io/cargo-deny/cli/index.html). ### Example pipeline @@ -52,6 +53,7 @@ jobs: log-level: warn command: check arguments: --all-features + command-arguments: "" ``` ### Use specific Rust version diff --git a/action.yml b/action.yml index 5cec7a6..d92ff37 100644 --- a/action.yml +++ b/action.yml @@ -15,6 +15,10 @@ inputs: description: "The arguments to pass to cargo-deny" required: false default: "--all-features" + command-arguments: + description: "The arguments to pass to the command" + required: false + default: "" log-level: description: "The log level for cargo-deny" required: false @@ -33,3 +37,4 @@ runs: - ${{ inputs.log-level }} - ${{ inputs.arguments }} - ${{ inputs.command }} + - ${{ inputs.command-arguments }}