enforcement
curl --location --request PATCH 'https://api.github.com/repos///pre-receive-hooks/' \
--header 'Content-Type: application/json' \
--data-raw '{
"enforcement": "enabled"
}'
{
"configuration_url": "string",
"enforcement": "string",
"id": 0,
"name": "string"
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通