This commit is contained in:
cliffhall 2026-01-06 16:31:38 -05:00
commit 775726b958

View file

@ -42,13 +42,13 @@ jobs:
} else { } else {
prNumber = context.payload.pull_request.number; prNumber = context.payload.pull_request.number;
} }
const pr = await github.rest.pulls.get({ const pr = await github.rest.pulls.get({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
pull_number: prNumber pull_number: prNumber
}); });
core.setOutput('sha', pr.data.head.sha); core.setOutput('sha', pr.data.head.sha);
core.setOutput('repo', pr.data.head.repo.full_name); core.setOutput('repo', pr.data.head.repo.full_name);