auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
// Reject request if origin not in defined list
const { origin } = event.headers;
const validOrigins = process.env.ISSUER_VALID_ORIGINS.split(/\s/);
console.dir({
validOrigins,
origin,
})
// Reject request if honeypot variables are set
auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
const { org = 'open-innovations', repo } = event.query;
const { title, description } = event.body;
return({
repo: `${org}/${repo}`,
title,
description,
})
Create a new issue in a Gihub repo.
The title of the issue.
Optionally add details describing the issue (this field supports Github markdown).
Optionally enter Github usernames to assign to this issue. Add one username per row or disable structured mode to pass an array of usernames in {{...}}
. NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise.