From 11b87b7f05bdb6b194af503d874d2901535578e9 Mon Sep 17 00:00:00 2001 From: Gerwin Klein Date: Tue, 9 Jul 2024 17:40:18 +1000 Subject: [PATCH] thylint: avoid composite action Use js action so that we don't have to pass through all parameters explicitly via `env`. Signed-off-by: Gerwin Klein --- thylint/action.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/thylint/action.yml b/thylint/action.yml index b86eee27..dc141230 100644 --- a/thylint/action.yml +++ b/thylint/action.yml @@ -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'