test(ci): test token usage for delivery action

This commit is contained in:
Kevin Duret 2024-12-05 17:35:28 +01:00
parent 4ff620c36e
commit 6f09e0a27e

View File

@ -58,12 +58,12 @@ runs:
});
pulls.data.forEach(pull => {
console.log(pull.title)
console.log(pull?.base?.ref)
});
const pull = pulls.data.find(p => p.merge_commit_sha === commitSha);
if (!pull) {
core.error('pull request not found');
return;
throw new Error('Pull request not found.');
}
/*