Python tool to batch-update repo settings.
See reposettings.yml
, which includes an object with all settings that can be configured.
Reposettings can also be run as a Github action!
reposettings:
name: Sync repository settings
runs-on: ubuntu-latest
steps:
- uses: roobre/reposettings@v1
with:
github_token: ${{ secrets.ACTUAL_TOKEN }}
config: |
# My custom settings
my-settings: &my-settings
features:
issues: true
allow:
squash-merge: true
merge-commit: true
rebase-merge: true
delete-branch-on-merge: true
# List of repos to update. This is the only key actually accessed by reposettings
repos:
roobre/reposettings: *my-settings