sort out the string

This commit is contained in:
dcvz 2024-08-01 18:26:11 +02:00
parent ae39aa82fa
commit fa7658114c

View file

@ -24,7 +24,7 @@ jobs:
for (const pull of data) {
console.log(pull.head);
console.log(pull.user);
if (pull.head.sha === '${{ github.event.workflow_run.head_sha }}' && pull.user.id === '${{ github.event.sender.id }}') {
if (pull.head.sha === '${{ github.event.workflow_run.head_sha }}' && pull.user.id === ${{ github.event.sender.id }}) {
return pull.number;
}
}