mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-14 01:56:52 +00:00
🔧 Update ts config
This commit is contained in:
parent
67d0dec7b0
commit
0dbe58c83e
5 changed files with 160 additions and 189 deletions
|
|
@ -5,7 +5,7 @@ import type {
|
|||
ReportedContentClassifiers,
|
||||
Repository,
|
||||
User
|
||||
} from "@octokit/graphql-schema/schema.d"
|
||||
} from "@octokit/graphql-schema"
|
||||
|
||||
type CreateCommentResponse = Awaited<
|
||||
ReturnType<InstanceType<typeof GitHub>["rest"]["issues"]["createComment"]>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {readFileSync} from "node:fs"
|
|||
import * as core from "@actions/core"
|
||||
import {context} from "@actions/github"
|
||||
import {create} from "@actions/glob"
|
||||
import type {ReportedContentClassifiers} from "@octokit/graphql-schema/schema.d"
|
||||
import type {ReportedContentClassifiers} from "@octokit/graphql-schema"
|
||||
|
||||
export const pullRequestNumber =
|
||||
context?.payload?.pull_request?.number || +core.getInput("number", {required: false})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue