We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c24926b + ecf4658 commit c056c18Copy full SHA for c056c18
1 file changed
.github/workflows/script/update-required-checks.sh
@@ -28,8 +28,7 @@ fi
28
echo "Getting checks for $GITHUB_SHA"
29
30
# Ignore any checks with "https://", CodeQL, LGTM, and Update checks.
31
-# Also ignore the non-matrixed "Unit Tests" job that only runs on pushes to protected branches.
32
-CHECKS="$(gh api repos/github/codeql-action/commits/"${GITHUB_SHA}"/check-runs --paginate | jq --slurp --compact-output --raw-output '[.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "Dependabot" or . == "check-expected-release-files" or . == "Unit Tests" or contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
+CHECKS="$(gh api repos/github/codeql-action/commits/"${GITHUB_SHA}"/check-runs --paginate | jq --slurp --compact-output --raw-output '[.[].check_runs.[] | select(.conclusion != "skipped") | .name | select(contains("https://") or . == "CodeQL" or . == "Dependabot" or . == "check-expected-release-files" or contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
33
34
echo "$CHECKS" | jq
35
0 commit comments