From c20345a08bbed6bb75a4957c8b00fe78b1876474 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Wed, 27 Aug 2025 19:31:26 +0200 Subject: [PATCH] fix(ci): use correct parameter for fetching the PRs of a branch Signed-off-by: Jyrki Gadinger --- .github/workflows/linux-appimage-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux-appimage-comment.yml b/.github/workflows/linux-appimage-comment.yml index 9713c2d220..1d547db417 100644 --- a/.github/workflows/linux-appimage-comment.yml +++ b/.github/workflows/linux-appimage-comment.yml @@ -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) {