Skip to content

Commit

Permalink
fix: use 3-dots syntax for diff on push (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored May 8, 2024
1 parent 5815a4b commit a4f60bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/post_run/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/run/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function fetchPushPatch(ctx: Context): Promise<string> {
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`,
},
Expand Down

0 comments on commit a4f60bb

Please sign in to comment.