Skip to content

Generate repository settings files where they differ from safe-settings defaults

License

Notifications You must be signed in to change notification settings

product-os/safe-settings-bootstrap

Repository files navigation

safe-settings-bootstrap

Bootstrap organization-level safe-settings manifests.

Create manifests following the balena opinionated defaults for repository settings across an entire org without losing existing branch protection checks.

Either export the env vars or create an .env with the following content:

# GitHub PAT with org:admin:read and repo:admin:read
GITHUB_TOKEN=ghp_abcdefghijklmnopqrstuvwxyz
# Organization name
ORG_NAME=balena-io-experimental

Execute in the <org>/.github repository with npmx safe-settings-bootstrap.

About

Generate repository settings files where they differ from safe-settings defaults

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •