🐛 Bug: branch-ruleset API crashes if a ruleset already exists (transition mode) #1950
Closed
3 tasks done
Labels
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
Running
npx create-typescript-app@beta
with a config/preset that includesblockRepositoryBranchRuleset
should pass on--mode transition
.Actual
If the ruleset already exists, the currently used API crashes:
Additional Info
Per https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#update-a-repository-ruleset, it looks like there's an update endpoint too.
🎁
The text was updated successfully, but these errors were encountered: