Unable to create ruleset with type:pull_request rule using REST API #128298
Unanswered
gdd1984
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi,
I am trying to create a ruleset that incorporates a pull_request type rule. However adding the pull_request type rule fails. Can someone please help with what I'm doing wrong with the pull_request type rule.
The request format is as follows:
Fails with a HTTP errorCode 422 on rule/0
When I remove the type:pull_request rule the ruleset creation works.
The API doco I was trying to follow is here
Beta Was this translation helpful? Give feedback.
All reactions