We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321abff commit 16095cfCopy full SHA for 16095cf
.github/workflows/notify.js
@@ -15,11 +15,12 @@ const needsTestFiles =
15
module.exports = async ({ github, context }) => {
16
const owner = context.repo.owner
17
const repo = context.repo.repo
18
+ const author = context.payload.pull_request.head.repo.owner.login
19
20
const response = await github.rest.repos.compareCommitsWithBasehead({
21
owner,
22
repo,
- basehead: `${context.payload.pull_request.base.ref}...${context.payload.pull_request.head.ref}`,
23
+ basehead: `${owner}:${context.payload.pull_request.base.ref}...${author}:${context.payload.pull_request.head.ref}`,
24
})
25
26
const filenames = response.data.files.map((file) => file.filename)
0 commit comments