Skip to content

Commit

Permalink
Update action to account for null/empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jashapiro committed Mar 8, 2024
1 parent ad53979 commit d6c7613
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# action.yml
name: 'R spell check'
description: 'Spell check R, Rmd and md files'
name: "R spell check"
description: "Spell check R, Rmd and md files"
inputs:
dictionary: # id of input
description: 'Dictionary file path'
dictionary: # id of input
description: "Dictionary file path"
required: true
default: 'components/dictionary.txt'
default: "components/dictionary.txt"
files:
description: Glob of files to check
required: false
outputs:
error_count:
description: The number of spelling errors
runs:
using: 'docker'
using: "docker"
image: ghcr.io/alexslemonade/spellcheck:edge
args:
- ${{ inputs.dictionary }}
- ${{ inputs.dictionary || 'components/dictionary.txt' }}
- ${{ inputs.files }}

0 comments on commit d6c7613

Please sign in to comment.