Skip to content

Commit

Permalink
Merge pull request #70 from codacy/add-skip-uncommitted-files-check
Browse files Browse the repository at this point in the history
Add skip-uncommitted-files-check flag to GH action
  • Loading branch information
heliocodacy committed Mar 3, 2022
2 parents 9f09141 + 4d04001 commit 028de6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Expand Up @@ -79,6 +79,10 @@ inputs:
required: false
description: >-
Path to a file containing the output of Faux Pas.
skip-uncommitted-files-check:
required: false
description: >-
Skip validation on uncommited files
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -248,6 +252,7 @@ runs:
$(if [ -n "${{ inputs.max-allowed-issues }}" ]; then echo "--max-allowed-issues ${{ inputs.max-allowed-issues }}"; fi) \
$(if [ -n "${{ inputs.tool }}" ]; then echo "--tool ${{ inputs.tool }}"; fi) \
$(if [ -n "${{ inputs.tool-timeout }}" ]; then echo "--tool-timeout ${{ inputs.tool-timeout }}"; fi) \
$(if [ "${{ inputs.skip-uncommitted-files-check }}" = "true" ]; then echo "--skip-uncommitted-files-check"; fi) \
$(if [ "${{ inputs.upload }}" = "true" ]; then echo "--upload"; fi) \
$(if [ "${{ inputs.fail-if-incomplete }}" = "true" ]; then echo "--fail-if-incomplete"; fi) \
$(if [ "${{ inputs.allow-network }}" = "true" ]; then echo "--allow-network"; fi) \
Expand Down

0 comments on commit 028de6e

Please sign in to comment.