File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ To regenerate the PR jobs for the action:
8282
8383 ``` sh
8484 SHA= # ###
85- CHECKS=" $( gh api repos/github/codeql-action/commits/${SHA} /check-runs --paginate | jq --slurp --compact-output --raw-output ' [.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "LGTM.com" or . == "Update dependencies" | not)]' ) "
85+ CHECKS=" $( gh api repos/github/codeql-action/commits/${SHA} /check-runs --paginate | jq --slurp --compact-output --raw-output ' [.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "LGTM.com" or . == "Update dependencies" or . == "Update Supported Enterprise Server Versions" | not)]' ) "
8686 echo " {\" contexts\" : ${CHECKS} }" > checks.json
8787 gh api -X " PATCH" repos/github/codeql-action/branches/main/protection/required_status_checks --input checks.json
8888 gh api -X " PATCH" repos/github/codeql-action/branches/v1/protection/required_status_checks --input checks.json
You can’t perform that action at this time.
0 commit comments