Repository rules - Import/Export + History Public Beta! #69918
Replies: 9 comments 9 replies
-
I don't see the options import or export ruleset. Is there anything I need to do to enable them? |
Beta Was this translation helpful? Give feedback.
-
clicking feedback might open in a new tab, imported ruleset was not saved :) |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
I would love to be able to import multiple rulesets at once. I don't need to review them before creation. |
Beta Was this translation helpful? Give feedback.
-
I want to be able to see the history of rules that were deleted as well; plenty of chaos can be caused by that. |
Beta Was this translation helpful? Give feedback.
-
When importing rulesets, it might have missed the Bypass list (for e.g. org admin). Not sure if this is intentional or a bug. |
Beta Was this translation helpful? Give feedback.
-
I'm a huge fan of this feature, but the rest API endpoint only allows specifying each field as a body parameter, not as a JSON body. Is there any chance that the rest API will accept the same JSON schema so that I can start automating this even further. Currently I have a bunch of rule sets saved as gists and I'd like to be able to roll those out in one go, otherwise I have to upload the same file to each repo manually :( |
Beta Was this translation helpful? Give feedback.
-
Is this you?
Is it hard to know who changed your perfect ruleset, and you need to get it back to the way life was?
Are you longing for an easy way to move your rules to a different org?
Or share them with your friends on the internet?
Now in public beta
Import & Export
It's easier to share and reuse rulesets, with the ability to import and export them as a JSON file. So you can build an internal library of rulesets or publicly share you favorite ruleset configs. Which is what we're doing!
Based on some best practices so you can quickly get started with rules in our ruleset recipe repo!
History
Did another admin remove a status check? Was the number of reviews changed? When did that happen? How do I fix this mess?
We're adding a history experience for GitHub Enterprise Cloud customers so you can track changes and revert to historical versions of a ruleset. Before this you would need to parse the audit log to find modifications to a ruleset but might not have permissions to the log or even want to dig through it.
Now, it's easy to see who changed a ruleset, when it happened, and what changed. Then, quickly get back to a known good state.
Beta Was this translation helpful? Give feedback.
All reactions