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 <jamacku@redhat.com>
  • Loading branch information
phracek and jamacku authored Jan 8, 2025
1 parent 0148a83 commit ef4db2d
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 @@ -289,7 +289,7 @@ async function action(pr: PullRequest): Promise<void> {
// Since metadata are fetched at the beginning of the action, we need to refresh them

do {
const issue_comment_timeout = Math.floor(Math.random() * 10000);
const timeout = Math.floor(Math.random() * 10000);
debug(`set timeout to ${timeout}`);
await setTimeout(timeout);
await pr.metadata.refresh();
Expand Down

0 comments on commit ef4db2d

Please sign in to comment.