Bump @actions/github from 4.0.0 to 5.0.0 (#306)

This commit is contained in:
dependabot[bot]
2021-05-26 19:56:45 +02:00
committed by GitHub
parent 359bef1f57
commit ad7c38929b
3 changed files with 73 additions and 65 deletions

View File

@@ -119,7 +119,7 @@ async function wait(seconds) {
const api = {}
api.graphql = octokit.graphql.defaults({headers:{authorization:`token ${token}`}})
info("Github GraphQL API", "ok")
api.rest = github.getOctokit(token)
api.rest = github.getOctokit(token).rest
info("Github REST API", "ok")
//Apply mocking if needed
if (mocked) {