only get workflow runs that failed

This commit is contained in:
miampf 2024-02-26 14:54:20 +01:00
parent 05b4bed034
commit 6df013e8aa
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -2,7 +2,7 @@
# get_e2e_test_ids_on_date gets all workflow IDs of workflows that contain "e2e" on a specific date.
function get_e2e_test_ids_on_date {
ids="$(gh run list --created "$1" --json createdAt,workflowName,databaseId --jq '.[] | select(.workflowName | contains("e2e")) | .databaseId' -L1000 -R edgelesssys/constellation)"
ids="$(gh run list --created "$1" --status failure --json createdAt,workflowName,databaseId --jq '.[] | select(.workflowName | contains("e2e")) | .databaseId' -L1000 -R edgelesssys/constellation)"
echo "$ids"
}