Fixed lint errors
This commit is contained in:
parent
bec5861452
commit
d1e3ff806a
@ -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'
|
||||||
|
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user