Skip to content

Commit 1d25542

Browse files
authored
Increase timeout for PR from 30 seconds to 2 minutest
Sometimes we get API rest limit. API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID F401:2B53CE:C033D20:17B81327:683DCE3C and timestamp 2025-06-02 16:15:56 UTC. - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api See job here: https://github.com/sclorg/mysql-container/actions/runs/15394720379
1 parent 93b42c9 commit 1d25542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ async function action(pr: PullRequest): Promise<void> {
196196
pr.isInitialized() &&
197197
(await pr.setStatus('pending', 'Build started', `${tfArtifactUrl}`));
198198

199-
// Interval of 30 seconds in milliseconds
200-
const interval = 30 * 1000;
199+
// Interval of 120 seconds in milliseconds
200+
const interval = 120 * 1000;
201201
const parsedTimeout = timeoutSchema.safeParse(getInput('timeout'));
202202
// set timeout to 960 * 30 seconds ~ 8 hours ; timeout from input is in minutes (hence * 2)
203203
let timeout = parsedTimeout.success ? parsedTimeout.data * 2 : 960;

0 commit comments

Comments
 (0)