We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc5643 commit 2ba5758Copy full SHA for 2ba5758
.github/workflows/gitflow-merge-conflict.yml
@@ -19,6 +19,7 @@ jobs:
19
uses: actions/github-script@v8
20
with:
21
script: |
22
+ const initialDelay = 60_000; // Wait 1 minute before first check to let CI start
23
const retryInterval = 30_000;
24
const maxRetries = 10; // (30 seconds * 10 retries) = 5 minutes
25
@@ -39,6 +40,10 @@ jobs:
39
40
let attempt = 0;
41
let mergeable = null;
42
43
+ // Wait before first check to give CI time to start
44
+ console.log(`Waiting ${initialDelay/1000} seconds before first check to let CI start...`);
45
+ await sleep(initialDelay);
46
+
47
while (attempt < maxRetries) {
48
attempt++;
49
console.log(`Attempt ${attempt}/${maxRetries}: Checking if PR is mergeable...`);
0 commit comments