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
- Run
npm i
to install dependencies - Run TOKEN=<GITHUB_TOKEN> OWNER=<>GITHUB_ORGANIZATION_NAME> node index.js