mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 06:10:19 +00:00
target new releases/v3 branch for required checks
This commit is contained in:
@@ -29,7 +29,7 @@ echo "$CHECKS" | jq
|
||||
|
||||
echo "{\"contexts\": ${CHECKS}}" > checks.json
|
||||
|
||||
for BRANCH in main releases/v2; do
|
||||
for BRANCH in main releases/v2 releases/v3; do
|
||||
echo "Updating $BRANCH"
|
||||
gh api --silent -X "PATCH" "repos/github/codeql-action/branches/$BRANCH/protection/required_status_checks" --input checks.json
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user