Skip to content

Commit 1d30702

Browse files
committed
fix broken tests report when there are no fails
1 parent f5d8e68 commit 1d30702

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/create_workflow_report/create_workflow_report.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ def get_checks_known_fails(
249249

250250
df = client.query_dataframe(query)
251251

252+
if df.shape[0] == 0:
253+
return df
254+
252255
df.insert(
253256
len(df.columns) - 1,
254257
"reason",

0 commit comments

Comments
 (0)