Edits history of script submission #13 for ' Create Issue (github)'

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { Octokit } from "https://cdn.skypack.dev/@octokit/rest";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit({ auth: gh_auth.token });
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by adam186 1148 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit({ auth: gh_auth.token });
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by adam186 1148 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit(gh_auth);
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by adam186 1148 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/index.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit(gh_auth);
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by adam186 1150 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/index.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit(gh_auth);
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by adam186 1185 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/index.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource<"github">} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"github">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit(gh_auth);
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by rossmccrann 1399 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/index.ts";
    import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
    
    /*
    @param: {wmill.Resource} gh_auth - Resource containing Github Auth API Key
    example:
    {
        auth: github_api_key
    }
    @param: {string} owner - Github username of repo owner
    @param: {string} repo - Github repo name
    @param: {string} title - title of Github issue
    @param: {string} body - body of Github issue
    */
    
    export async function main(
      gh_auth: wmill.Resource<"c_github_auth">,
      owner: string,
      repo: string,
      title: string,
      body: string,
    ) {
      const octokit = new Octokit(gh_auth);
    
      const response = await octokit.rest.issues.create({
        owner: owner,
        repo: repo,
        title: title,
        body: body,
      });
    
      return response;
    }
    

    Submitted by rossmccrann 1441 days ago