Skip to content
Permalink
4896ba51da
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Robert Brignull use @actions/github
Latest commit 0086c2e Jul 6, 2020 History
0 contributors

Users who have contributed to this file

12 lines (11 sloc) 327 Bytes
import * as core from "@actions/core";
import * as github from "@actions/github";
import consoleLogLevel from "console-log-level";
export const getApiClient = function() {
return new github.GitHub(
core.getInput('token'),
{
userAgent: "CodeQL Action",
log: consoleLogLevel({ level: "debug" })
});
};