Skip to content

Commit

Permalink
target new releases/v3 branch for required checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfyson committed Dec 20, 2023
1 parent 7e187e1 commit 6ae53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/script/update-required-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ae53ab

Please sign in to comment.