mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Add debug, user-agent, and previews inputs
This commit is contained in:
@@ -10,6 +10,15 @@ inputs:
|
||||
github-token:
|
||||
description: The GitHub token used to create an authenticated client
|
||||
required: true
|
||||
debug:
|
||||
description: Whether to tell the GitHub client to log details of its requests
|
||||
default: false
|
||||
user-agent:
|
||||
description: An optional user-agent string
|
||||
default: actions/github-script
|
||||
previews:
|
||||
description: A list of API previews to accept
|
||||
default: []
|
||||
outputs:
|
||||
result:
|
||||
description: The return value of the script, stringified with `JSON.stringify`
|
||||
|
||||
Reference in New Issue
Block a user