Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restrictions does't work #570

Open
bheemvennapureddy opened this issue Dec 14, 2023 · 0 comments
Open

restrictions does't work #570

bheemvennapureddy opened this issue Dec 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bheemvennapureddy
Copy link
Contributor

0|safesettings  | 2023-12-14T21:43:17: ERROR (event): Error applying branch protection {"name":"HttpError","status":422,"response":{"url":"https://api.github.com/repos/CuroFinTechCorp/SummitFunction-PreQualAbandonedLeadScheduler/branches/master/protection","status":422,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset","connection":"close","content-length":"311","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Thu, 14 Dec 2023 21:43:17 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","strict-transport-security":"max-age=31536000; includeSubdomains; preload","vary":"Accept-Encoding, Accept, X-Requested-With","x-accepted-github-permissions":"administration=write","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-api-version-selected":"2022-11-28","x-github-media-type":"github.v3; param=hellcat-preview.luke-cage-preview.zzzax-preview; format=json","x-github-request-id":"ECFD:81F1:7C3EF:103422:657B76F5","x-ratelimit-limit":"15000","x-ratelimit-remaining":"3435","x-ratelimit-reset":"1702590975","x-ratelimit-resource":"core","x-ratelimit-used":"11565","x-xss-protection":"0"},"data":{"message":"Invalid request.\n\nNo subschema in \"anyOf\" matched.\n\"teams\", \"users\" weren't supplied.\nNot all subschemas of \"allOf\" matched.\nFor 'anyOf/1', {\"apps\"=>[\"curo-bot\"]} is not a null.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}},"request":{"method":"PUT","url":"https://api.github.com/repos/CuroFinTechCorp/SummitFunction-PreQualAbandonedLeadScheduler/branches/master/protection","headers":{"accept":"application/vnd.github.hellcat-preview+json,application/vnd.github.luke-cage-preview+json,application/vnd.github.zzzax-preview+json","user-agent":"probot/12.3.1 octokit-core.js/3.5.1 Node.js/21","authorization":"token [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{\"required_pull_request_reviews\":{\"required_approving_review_count\":2,\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":false,\"require_last_push_approval\":true,\"required_review_thread_resolution\":true},\"required_status_checks\":{\"strict\":false,\"contexts\":[\"validate_work_item\"]},\"enforce_admins\":true,\"restrictions\":{\"apps\":[\"curo-bot\"]}}","request":{"retryCount":1}}}
0|safesettings  | 2023-12-14T21:43:17:     id: "b2178692-9ac9-11ee-98bf-7fefd025c47b"
Screenshot 2023-12-14 at 3 45 00 PM
@bheemvennapureddy bheemvennapureddy added the bug Something isn't working label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant