mirror of
https://github.com/actions/github-script.git
synced 2026-02-09 11:51:35 +00:00
Initial pass on script Action
This commit is contained in:
15
action.yml
Normal file
15
action.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Script
|
||||
description: An action for running simple scripts with a GitHub client
|
||||
inputs:
|
||||
script:
|
||||
description: The script to run
|
||||
required: true
|
||||
github-token:
|
||||
description: The GitHub token used to create an authenticated client
|
||||
required: true
|
||||
outputs:
|
||||
result:
|
||||
description: The return value of the script, stringified with `JSON.stringify`
|
||||
runs:
|
||||
using: node12
|
||||
main: main.js
|
||||
Reference in New Issue
Block a user