From 0a8669cd411537772694157727f914fcffeff683 Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Wed, 9 Oct 2024 14:00:25 +0400 Subject: [PATCH] Revert "use inputs..default" This reverts commit 1a12292eac50a1a4bec4e98f32c43564e51cff1f. --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index ca58189..efacf98 100644 --- a/action.yaml +++ b/action.yaml @@ -154,7 +154,7 @@ runs: set_env_var_if_provided "TRIVY_EXIT_CODE" "${{ inputs.exit-code }}" "" set_env_var_if_provided "TRIVY_IGNORE_UNFIXED" "${{ inputs.ignore-unfixed }}" "false" set_env_var_if_provided "TRIVY_PKG_TYPES" "${{ inputs.vuln-type }}" "os,library" - set_env_var_if_provided "TRIVY_SEVERITY" "${{ inputs.severity }}" "${{ inputs.severity.default }}" + set_env_var_if_provided "TRIVY_SEVERITY" "${{ inputs.severity }}" "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL" set_env_var_if_provided "TRIVY_FORMAT" "${{ inputs.format }}" "table" set_env_var_if_provided "TRIVY_TEMPLATE" "${{ inputs.template }}" "" set_env_var_if_provided "TRIVY_OUTPUT" "${{ inputs.output }}" ""