Remove logging

This commit is contained in:
dcvz 2024-08-01 20:21:22 +02:00
parent fa7658114c
commit 409b759865

View file

@ -22,8 +22,6 @@ jobs:
const pulls = await github.rest.pulls.list({ owner, repo }); const pulls = await github.rest.pulls.list({ owner, repo });
for await (const { data } of github.paginate.iterator(pulls)) { for await (const { data } of github.paginate.iterator(pulls)) {
for (const pull of data) { 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; return pull.number;
} }