Skip to content

Instantly share code, notes, and snippets.

@dalanmiller
Created July 10, 2021 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalanmiller/0344b590d83f83f271fb080d9c7be97b to your computer and use it in GitHub Desktop.
Save dalanmiller/0344b590d83f83f271fb080d9c7be97b to your computer and use it in GitHub Desktop.
import {Octokit} from 'https://cdn.skypack.dev/@octokit/rest';
const octokit = new Octokit({
auth: Deno.env.get('TOKEN')
})
await octokit.rest.issues.create({
"author": "octokit",
"repo": "octokit.js",
"title": "test",
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment