createGithubIssue
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v8View latest version
This helper function creates a Github Issue in the specified repo, assigned to whoever you want. It also adds it into the current milestone.
We use this in @stevekrouse/renderEmails to auto-create issues when we have server restarts, in the current milestone, assigned to @maxm, our infra guy.
import { createIssue } from 'https://esm.town/v/stevekrouse/createGithubIssue';
console.log(
await createIssue({
title: "Test Issue",
body: "This is a test issue.",
repoOwner: "val-town",
repoName: "val.town",
assignee: "maxmcd",
githubToken: Deno.env.get("GITHUB_CONTRIBUTIONS"),
}),
);
Migrated from folder: Archive/createGithubIssue