Fixed lint errors

This commit is contained in:
Tonye Jack 2023-06-22 19:24:05 -06:00
parent bec5861452
commit d1e3ff806a
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import * as core from '@actions/core' import * as core from '@actions/core'
import {Octokit, RestEndpointMethodTypes} from '@octokit/rest' import {Octokit} from '@octokit/rest'
import type {RestEndpointMethodTypes} from '@octokit/rest'
import * as path from 'path' import * as path from 'path'
import {DiffResult} from './commitSha' import {DiffResult} from './commitSha'

View File

@ -278,7 +278,7 @@ export async function run(): Promise<void> {
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`) core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
if (inputs.token && env.GITHUB_EVENT_PULL_REQUEST_NUMBER) { if (inputs.token && env.GITHUB_EVENT_PULL_REQUEST_NUMBER) {
const unsupportedInputs: Array<keyof Inputs> = [ const unsupportedInputs: (keyof Inputs)[] = [
'sha', 'sha',
'baseSha', 'baseSha',
'since', 'since',