Skip to content

Feature Request: Github Branch Rulesets #2718

@aclarknexient

Description

@aclarknexient

Github recently released a new feature called rulesets:

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets

Rulesets are available in the REST and GraphQL APIs:

It's still a new feature but at some point in the future I'd like to add it to our automation scripts.

I haven't yet looked at the source of PyGithub to see how difficult it would be for me to add this. I'm not an expert Python coder but I can copy and paste REST API calls and edit names, so I may be able to add this if no one else is able to. I didn't see any PRs or other Issues that mention rulesets. I hope it's OK that I created this ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions