Skip to content

Commit

Permalink
Merge pull request #4 from tj-actions/update-args
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonye Jack authored Aug 9, 2020
2 parents 4582a06 + ed48c0d commit 21c08d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ inputs:
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.dir }}
- ${{ inputs.ignores }}
branding:
icon: check-square
color: green
5 changes: 1 addition & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
set -o pipefail


DIR=$2
IGNORES=$3

OUTPUT=$(depcheck --ignores="${IGNORES}" "${DIR}" 2>&1) && exit_status=$? || exit_status=$?
OUTPUT=$(depcheck --ignores="${INPUT_IGNORES}" "${INPUT_DIR}" 2>&1) && exit_status=$? || exit_status=$?
echo "$OUTPUT"

echo "::set-output name=exit_code::$exit_status"
Expand Down

0 comments on commit 21c08d0

Please sign in to comment.