mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 22:11:15 +00:00
fix: use 3-dots syntax for diff on push (#1040)
This commit is contained in:
parent
5815a4b917
commit
a4f60bb28d
3 changed files with 3 additions and 3 deletions
2
dist/post_run/index.js
generated
vendored
2
dist/post_run/index.js
generated
vendored
|
|
@ -89228,7 +89228,7 @@ async function fetchPushPatch(ctx) {
|
||||||
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
||||||
owner: ctx.repo.owner,
|
owner: ctx.repo.owner,
|
||||||
repo: ctx.repo.repo,
|
repo: ctx.repo.repo,
|
||||||
basehead: `${ctx.payload.before}..${ctx.payload.after}`,
|
basehead: `${ctx.payload.before}...${ctx.payload.after}`,
|
||||||
mediaType: {
|
mediaType: {
|
||||||
format: `diff`,
|
format: `diff`,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
dist/run/index.js
generated
vendored
2
dist/run/index.js
generated
vendored
|
|
@ -89228,7 +89228,7 @@ async function fetchPushPatch(ctx) {
|
||||||
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
||||||
owner: ctx.repo.owner,
|
owner: ctx.repo.owner,
|
||||||
repo: ctx.repo.repo,
|
repo: ctx.repo.repo,
|
||||||
basehead: `${ctx.payload.before}..${ctx.payload.after}`,
|
basehead: `${ctx.payload.before}...${ctx.payload.after}`,
|
||||||
mediaType: {
|
mediaType: {
|
||||||
format: `diff`,
|
format: `diff`,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ async function fetchPushPatch(ctx: Context): Promise<string> {
|
||||||
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
|
||||||
owner: ctx.repo.owner,
|
owner: ctx.repo.owner,
|
||||||
repo: ctx.repo.repo,
|
repo: ctx.repo.repo,
|
||||||
basehead: `${ctx.payload.before}..${ctx.payload.after}`,
|
basehead: `${ctx.payload.before}...${ctx.payload.after}`,
|
||||||
mediaType: {
|
mediaType: {
|
||||||
format: `diff`,
|
format: `diff`,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue