mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8663 from nextcloud/fix/noid/appimage-comment-external-prs-2
fix(ci): use correct parameter for fetching the PRs of a branch
This commit is contained in:
commit
e4400b2aeb
2
.github/workflows/linux-appimage-comment.yml
vendored
2
.github/workflows/linux-appimage-comment.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
const pullRequestsForThisBranch = await github.rest.repos.listPullRequestsAssociatedWithCommit({
|
||||
owner: context.payload.workflow_run.head_repository.owner.login,
|
||||
repo: context.payload.workflow_run.head_repository.name,
|
||||
run_id: context.payload.workflow_run.head_branch,
|
||||
commit_sha: context.payload.workflow_run.head_branch,
|
||||
});
|
||||
const latestPullRequest = pullRequestsForThisBranch.data.sort((a, b) => b.id - a.id)[0];
|
||||
if (!latestPullRequest) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user