File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,11 +124,25 @@ jobs:
124124 echo "passed=true" >> $GITHUB_OUTPUT
125125 fi
126126
127+ # Wait for all checks to complete
128+ wait-for-checks :
129+ name : ⏳ Wait for All Tests
130+ runs-on : ubuntu-latest
131+ needs : run-tests
132+ if : always()
133+
134+ steps :
135+ - name : Wait for other workflows
136+ run : |
137+ echo "⏳ Waiting for all validation and test workflows to complete..."
138+ sleep 30
139+ echo "✅ Proceeding with labeling and notifications"
140+
127141 # Auto-labeling and first-time contributor welcome
128142 auto-label :
129143 name : 🏷️ Auto Label & Welcome
130144 runs-on : ubuntu-latest
131- needs : run-tests
145+ needs : [ run-tests, wait-for-checks]
132146 if : always()
133147
134148 steps :
@@ -279,7 +293,7 @@ jobs:
279293 notify-status :
280294 name : 📢 Notify Status
281295 runs-on : ubuntu-latest
282- needs : [run-tests, auto-label]
296+ needs : [run-tests, auto-label, wait-for-checks ]
283297 if : always()
284298
285299 steps :
You can’t perform that action at this time.
0 commit comments