Skip to content

Commit a4f60bb

Browse files
authored
fix: use 3-dots syntax for diff on push (#1040)
1 parent 5815a4b commit a4f60bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: dist/post_run/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/run/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/run.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async function fetchPushPatch(ctx: Context): Promise<string> {
101101
const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({
102102
owner: ctx.repo.owner,
103103
repo: ctx.repo.repo,
104-
basehead: `${ctx.payload.before}..${ctx.payload.after}`,
104+
basehead: `${ctx.payload.before}...${ctx.payload.after}`,
105105
mediaType: {
106106
format: `diff`,
107107
},

0 commit comments

Comments
 (0)