GOAT is a tool to automate tedious manual tasks related to organization management through the GitHub API.
npm i -g github-organization-automation-tool
docker run \
--rm \
--env GITHUB_TOKEN=$YOUR_TOKEN \
petermetz/github-organization-automation-tool:main \
sync-owners \
hyperledger-cicd \
besu \
main \
OWNERS.yaml
This example syncs the OWNERS.yaml
file's contents in the GitHub org and the
repository.
The OWNERS.yaml
file will be located on the branch main
.
If you omit the last two arguments these will be the defaulted values as well.
GITHUB_TOKEN=$YOUR_TOKEN npx github-organization-automation-tool sync-owners your-organization-name your-repository-name main OWNERS.yaml
DOCKER_BUILDKIT=1 docker build -f ./Dockerfile . -t goat
Terminal #1
npm run watch:build
Terminal #2
GITHUB_TOKEN=$YOUR_TOKEN \
./bin/github-organization-automation-tool \
sync-owners \
hyperledger-cicd \
besu \
main \
OWNERS.yaml