target new releases/v3 branch for required checks
This commit is contained in:
Родитель
7e187e1c52
Коммит
6ae53ab6d5
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче