mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-15 15:16:30 +00:00
Fix usage of github action
This commit is contained in:
parent
982c39ed2c
commit
b3eed24c4a
3 changed files with 10557 additions and 49193 deletions
29874
dist/post_run/index.js
vendored
29874
dist/post_run/index.js
vendored
File diff suppressed because it is too large
Load diff
29874
dist/run/index.js
vendored
29874
dist/run/index.js
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -39,7 +39,7 @@ async function fetchPatch(): Promise<string> {
|
|||
return ``
|
||||
}
|
||||
|
||||
const octokit = new github.GitHub(core.getInput(`github-token`, { required: true }))
|
||||
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
|
||||
let patch: string
|
||||
try {
|
||||
const patchResp = await octokit.pulls.get({
|
||||
|
|
|
|||
Loading…
Reference in a new issue