Skip to content

Commit db40ac4

Browse files
authored
Merge pull request #2011 from github/henrymercer/exclude-dependabot-required-checks
Exclude Dependabot updates workflow from required PR checks
2 parents 4712487 + 77605c7 commit db40ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/script/update-required-checks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
echo "Getting checks for $GITHUB_SHA"
2424

2525
# Ignore any checks with "https://", CodeQL, LGTM, and Update checks.
26-
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 . == "LGTM.com" or . == "check-expected-release-files" or contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
26+
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 contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
2727

2828
echo "$CHECKS" | jq
2929

0 commit comments

Comments
 (0)