diff --git a/.github/scripts/merge-back.cjs b/.github/scripts/merge-back.cjs index d3948398e..eca79f156 100644 --- a/.github/scripts/merge-back.cjs +++ b/.github/scripts/merge-back.cjs @@ -43,6 +43,9 @@ module.exports = async ({ github, context }) => { 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 await github.graphql( `