Skip to content

Commit d5a3f54

Browse files
committed
Added 2 seconds of delay to ensure that github fully process the new issue
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent e99ef59 commit d5a3f54

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/scripts/create-or-update-issues.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ module.exports = async ({github, context}) => {
186186
].join('\n'),
187187
});
188188

189+
// Small delay to allow GitHub to fully process the new issue
190+
await new Promise(resolve => setTimeout(resolve, 2000));
191+
189192
// Create one comment per failing test
190193
for (const test of tests) {
191194
const commentMarker = `<!-- test-failure: ${test.test_name} -->`;

0 commit comments

Comments
 (0)