txqueuelen / reposettings

A tool to declaratively configure settings and labels of GitHub repositories using a yaml file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reposettings

Python tool to batch-update repo settings.

Supported settings

See reposettings.yml, which includes an object with all settings that can be configured.

Github action

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

About

A tool to declaratively configure settings and labels of GitHub repositories using a yaml file


Languages

Language:Python 98.1%Language:Shell 1.0%Language:Dockerfile 0.9%