Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ inputs:
description: Directory to scan (defaults to the repository root)
required: false
default: ''
fail-on:
description: Lowest severity that causes a non-zero exit: error, warning, or info
required: false
default: error
runs:
using: composite
steps:
Expand All @@ -35,5 +39,6 @@ runs:
env:
ACTION_PATH: ${{ github.action_path }}
DOLPHIN_CWD: ${{ inputs.working-directory }}
DOLPHIN_FAIL_ON: ${{ inputs.fail-on }}
run: |
node "$ACTION_PATH/launcher/launcher.js" check --cwd "${DOLPHIN_CWD:-$GITHUB_WORKSPACE}" --format github
node "$ACTION_PATH/launcher/launcher.js" check --cwd "${DOLPHIN_CWD:-$GITHUB_WORKSPACE}" --format github --fail-on "${DOLPHIN_FAIL_ON:-error}"
Loading