Remove PR checks for v1
This commit is contained in:
parent
32be38eeff
commit
e530813ab8
39 changed files with 6 additions and 57 deletions
|
|
@ -29,7 +29,7 @@ echo "$CHECKS" | jq
|
|||
|
||||
echo "{\"contexts\": ${CHECKS}}" > checks.json
|
||||
|
||||
for BRANCH in main releases/v2 releases/v1; do
|
||||
for BRANCH in main releases/v2; do
|
||||
echo "Updating $BRANCH"
|
||||
gh api --silent -X "PATCH" "repos/github/codeql-action/branches/$BRANCH/protection/required_status_checks" --input checks.json
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue