From 6df4cede7aff5275e699c11bda04567bf19dc9c8 Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Thu, 29 May 2025 19:13:21 +0000 Subject: [PATCH] improve detector comment and provide defaults --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 491b7e3..5a047e8 100644 --- a/action.yml +++ b/action.yml @@ -28,19 +28,23 @@ inputs: required: false default: '' - # If any of detector-name, detector-version, or detector-url are provided, they all have to be provided. Defaults will be used if any are not provided. + # If any of detector-name, detector-version, or detector-url are provided, they all have to be provided. + # Defaults will be used if none are not provided. If only one or two are provided, the action will fail. detector-name: description: The name of the detector that generated the dependency snapshot type: string required: false + default: '' detector-version: description: The version of the detector that generated the dependency snapshot type: string required: false + default: '' detector-url: description: The URL to the detector that generated the dependency snapshot type: string required: false + default: '' runs: using: 'node20' main: 'dist/index.js'