We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d021018 commit 99e6aacCopy full SHA for 99e6aac
1 file changed
.github/actions/check-merge-queue/action.yml
@@ -101,13 +101,13 @@ runs:
101
return;
102
}
103
104
- const comparison = await github.repos.compareCommitsWithBasehead({
+ const comparison = await github.rest.repos.compareCommitsWithBasehead({
105
owner: context.repo.owner,
106
repo: context.repo.repo,
107
basehead: `${BASE_REF}...${PR_BRANCH}`,
108
});
109
110
- if (comparison.status === 'identical' || comparison.status === 'ahead') {
+ if (comparison.data.status === 'identical' || comparison.data.status === 'ahead') {
111
core.info(`Pull request branch "${PR_BRANCH}" is up-to-date with base branch "${BASE_REF}".`);
112
core.setOutput('up-to-date', 'true');
113
} else {
0 commit comments