safe-settings-bootstrap

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

APACHE-2.0 License

Downloads
833
Stars
0
Committers
3

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.

Package Rankings
Top 40.21% on Npmjs.org
Related Projects