script-go-github-protect

command module
v0.0.0-...-50bf08b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 8 Imported by: 0

README

script-go-github-protect

Golang script to protect all repositories in single Organization

.env configuration

ORG="example"
USER="myself"
TOKEN="xxx_xxxxxxxxxxxxxxxxxxxxxxxxxx"

run

go run main.go

configuration

DismissStaleReviews:            True
RequireCodeOwnerReviews:        True
RequiredApprovingReviewCount:   1
RequiredConversationResolution: True
EnforceAdmins:                  False

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL