diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 77ebe7bf45..3aaabfc2c4 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -89228,7 +89228,7 @@ async function fetchPushPatch(ctx) { const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({ owner: ctx.repo.owner, repo: ctx.repo.repo, - basehead: `${ctx.payload.before}..${ctx.payload.after}`, + basehead: `${ctx.payload.before}...${ctx.payload.after}`, mediaType: { format: `diff`, }, diff --git a/dist/run/index.js b/dist/run/index.js index 5a8e29b828..d88750b4ba 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -89228,7 +89228,7 @@ async function fetchPushPatch(ctx) { const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({ owner: ctx.repo.owner, repo: ctx.repo.repo, - basehead: `${ctx.payload.before}..${ctx.payload.after}`, + basehead: `${ctx.payload.before}...${ctx.payload.after}`, mediaType: { format: `diff`, }, diff --git a/src/run.ts b/src/run.ts index a19a621874..0cf954730e 100644 --- a/src/run.ts +++ b/src/run.ts @@ -101,7 +101,7 @@ async function fetchPushPatch(ctx: Context): Promise { const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({ owner: ctx.repo.owner, repo: ctx.repo.repo, - basehead: `${ctx.payload.before}..${ctx.payload.after}`, + basehead: `${ctx.payload.before}...${ctx.payload.after}`, mediaType: { format: `diff`, },