[BUG]: @octokit/rest doesn't appear to support some valid values for createRepoRuleset
like merge-queues.
#468
Labels
Type: Bug
Something isn't working as documented
What happened?
I'm working on a script to configure merge queues across many repos (code snippet below).
I noticed that 3 of the fields I tried to configure had TS errors. If I use
@ts-expect-error
it works correctly (compare to values here in REST API docs here: https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#create-a-repository-ruleset).I'm unsure if this is just an oversight or if the merge-queue and ruleset features have different valid values for Github Enterprise plans etc.
Code snippet:
Versions
@octokit/rest
21.0.2node
18.20.3typescript
5.6.2Relevant log output
First error
Second error
Third error
Code of Conduct
The text was updated successfully, but these errors were encountered: