Create API endpoint for checkbox "Static status check names" in GitHub service.
Problem to solve
We can modify GitHub service integration with API. But cant edit new checkbox "Static status check names"
Further details
curl -s -H "Content-Type: application/json"
-H "PRIVATE-TOKEN: $GITLAB_TOKEN"
-X PUT https://{GITLAB_SERVER}/api/v4/projects/
{GITLAB_GROUP_NAME}%2F${PROJECT}/services/github
--data @<(cat <<EOF
{
"token": "${GITHUB_TOKEN}",
"repository_url": "https://github.com/{COMPANY}/
{PROJECT}",
"static_context": "1"
}
EOF
) | jq .
Proposal
Add endpoint for "Static status check names" in GitHub service: { "static_context": "1" }