Fix octokit definition object

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-05-25 02:07:25 +02:00
parent e5c54f2159
commit 28d7c8bbcd
6 changed files with 586 additions and 298 deletions

View File

@@ -4,7 +4,6 @@ import * as github from './github';
import {Meta, Version} from './meta';
import * as core from '@actions/core';
import {Context} from '@actions/github/lib/context';
import {ReposGetResponseData} from '@octokit/types';
async function run() {
try {
@@ -14,7 +13,7 @@ async function run() {
}
const context: Context = github.context();
const repo: ReposGetResponseData = await github.repo(inputs.githubToken);
const repo: github.ReposGetResponseData = await github.repo(inputs.githubToken);
core.startGroup(`Context info`);
core.info(`eventName: ${context.eventName}`);
core.info(`sha: ${context.sha}`);