Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/config/deps/github.ts>githubActions.getOctokit

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function githubActions.getOctokit
import { githubActions } from "https://deno.land/x/actionify@0.3.0/config/deps/github.ts";
const { getOctokit } = githubActions;

Returns a hydrated octokit ready to use for GitHub Actions

Parameters

token: string

the repo PAT or GITHUB_TOKEN

optional
options: OctokitOptions

other options to set

Returns

InstanceType<GitHub>