mirror of
https://github.com/Cian-H/dotfiles.git
synced 2025-12-27 21:11:57 +00:00
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
Branch Protections
Definition
Do you have hundreds or thousands of GitHub repositories in your organization? Are you tired of manually managing their branch protection rules? Don't! Let nushell do it for you!
Setup
- Replace placeholder data in .nu script with your own (or remove the appropriate fields if you don't need to i.e push to repo from action)
- Create a repo in your organization account to store the github action
- Push both the attached script and the github action to the repo
Possible future improvements
- Instead of cron run the script on repository creation event (once org level actions become a thing in GitHub)