Skip to content

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

Notifications You must be signed in to change notification settings

txqueuelen/reposettings

Repository files navigation

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

Resources

Stars

Watchers

Forks

Languages