moustacheful/GitHub API exec action

Executes commands on with GitHub's API.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
commandCommand to execute, (e.g: `pulls.create`), see https://octokit.github.io/rest.js/ for available commandsyes
payloadThe payload to send along with the command, see https://octokit.github.io/rest.js/ for structure{}
withRepoWhether we should include the current repo information (`context.repo`) to the aforementioned payloadfalse
resultPathThe path to obtain from the result, if needed. i.e.: labels.0.id, if missing, the output is the whole json, which you can later obtain via the [steps context](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions#steps-context) and parse using tools such as jq
namedescription
resultThe result of the API call, optionally scoped to resultPath, if any