Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 394 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 394 Bytes

branch-protection-tool

update datree branch protection

GITHUB_TOKEN - Use a personal github token with full repo permissions (you can generate it in https://github.com/settings/tokens) GITHUB_ORGANIZATION_NAME - Your github organization name

Works on NODE v14

Instructions:

  • Run npm i to install dependencies
  • Run TOKEN=<GITHUB_TOKEN> OWNER=<>GITHUB_ORGANIZATION_NAME> node index.js