mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
test(ci): test token usage for delivery action
This commit is contained in:
parent
4ff620c36e
commit
6f09e0a27e
4
.github/actions/package-delivery/action.yml
vendored
4
.github/actions/package-delivery/action.yml
vendored
@ -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.');
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user