From 0d1eb88b60733b6720210d591c48ebc9e961d42c Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 21 Oct 2024 15:50:17 -0700 Subject: [PATCH] Remove ESLint from required checks Dependabot does not upload eslint alerts, so the check is never created. --- .github/workflows/script/update-required-checks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/script/update-required-checks.sh b/.github/workflows/script/update-required-checks.sh index 8a2675e93a..ec2aa1e355 100755 --- a/.github/workflows/script/update-required-checks.sh +++ b/.github/workflows/script/update-required-checks.sh @@ -27,8 +27,8 @@ fi echo "Getting checks for $GITHUB_SHA" -# Ignore any checks with "https://", CodeQL, LGTM, and Update checks. -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')" +# Ignore any checks with "https://", CodeQL, LGTM, Update, and ESLint checks. +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("ESLint") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')" echo "$CHECKS" | jq