Skip to content

Commit

Permalink
thylint: avoid composite action
Browse files Browse the repository at this point in the history
Use js action so that we don't have to pass through all parameters
explicitly via `env`.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Jul 10, 2024
1 parent c705c08 commit 3b22bec
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions thylint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ inputs:
disable:
description: 'Comma-separated list (no spaces) of warning classes to disable (default: none)'
required: false
action_name:
description: 'internal -- do not use'
required: false
default: 'thylint'

runs:
using: "composite"
steps:
- run: ${{ github.action_path }}/steps.sh
shell: bash
env:
INPUT_TOKEN: ${{ inputs.token }}
INPUT_DISABLE: ${{ inputs.disable }}
using: 'node20'
main: '../js/index.js'

0 comments on commit 3b22bec

Please sign in to comment.