Skip to content

Commit

Permalink
Update re-draft-on-changes-requested.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Oct 15, 2024
1 parent 6c6f58b commit 1fbe833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/re-draft-on-changes-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
repo: context.repo.repo,
pull_number,
});
if (!pullRequest.data.node_id) throw new Error(`pullRequestId no found for '${pull_number}'`);
return pullRequest.data.node_id;
if (!pullRequest.data.id) throw new Error(`pullRequestId no found for '${pull_number}'`);
return pullRequest.data.id;
}
const query = `
mutation($id: ID!) {
Expand Down

0 comments on commit 1fbe833

Please sign in to comment.