mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
add support for graphql in @actions/github
This commit is contained in:
@@ -20,6 +20,8 @@ private module Octokit {
|
||||
private API::Node octokit() {
|
||||
result =
|
||||
API::moduleImport(["@octokit/core", "@octokit/rest"]).getMember("Octokit").getInstance()
|
||||
or
|
||||
result = API::moduleImport("@actions/github").getMember("getOctokit").getReturn()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user