added a short delay before auto-merge

This commit is contained in:
Letro Bot
2026-04-28 17:22:43 +03:30
parent 6fbb313b43
commit 080b64d7fa

View File

@@ -43,6 +43,9 @@ module.exports = async ({ github, context }) => {
labels: ["T-Task"], labels: ["T-Task"],
}); });
// Wait for GitHub to register the pending checks before enabling auto-merge
await new Promise((resolve) => setTimeout(resolve, 30000));
// Enable auto-merge on the PR // Enable auto-merge on the PR
await github.graphql( await github.graphql(
` `