improve detector comment and provide defaults

This commit is contained in:
E. Lynette Rayle
2025-05-29 19:13:21 +00:00
parent 9c1ae0dcfb
commit 6df4cede7a

View File

@@ -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'