Skip to content

Commit

Permalink
Update src/action.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Macku <[email protected]>
  • Loading branch information
phracek and jamacku authored Jan 8, 2025
1 parent 56aa34a commit 0148a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async function action(pr: PullRequest): Promise<void> {
do {
const issue_comment_timeout = Math.floor(Math.random() * 10000);
debug(`set timeout to ${timeout}`);
await setTimeout(issue_comment_timeout);
await setTimeout(timeout);
await pr.metadata.refresh();
} while (pr.metadata.lock === 'true');
debug(`metadata unlocked`);
Expand Down

0 comments on commit 0148a83

Please sign in to comment.