Skip to content
Snippets Groups Projects
Unverified Commit 1480ff8b authored by GianlucaOberreit's avatar GianlucaOberreit Committed by GitHub
Browse files

Update committee_creation.yml

parent 6bc96e40
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ jobs:
response=$(curl -X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/BX-bot-ecosystem/Telegram-BX-Bot/branches/$branch_name/protection \
https://api.github.com/repos/BX-bot-ecosystem/Telegram-BX-Bot/branches/committee/$branch_name/protection \
-d '{"enforce_admins": false, "required_status_checks": null, "required_pull_request_reviews": {"dismissal_restrictions": {"users": [], "teams": ['$team_id']}, "dismiss_stale_reviews": true, "require_code_owner_reviews": true, "required_approving_review_count": 1}, "restrictions": {"users": [], "teams": ['$team_id']}}')
echo "Branch Protection Response: $response"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment