A github bot that helps out adding members / creating repos for nodeschool
We run an instance as @nodeschoolbot on GitHub
npm install -g nodeschoolbot
Run a command by mentioning @nodeschoolbot in an issue comment, e.g. @nodeschoolbot help
help
- shows this helpcreate-repo {name}
- creates a nodeschool repoadd-user {username}
- adds a user to thechapter-organizers
team and the orgcreate-team {team}
- creates a new teamadd-team-user {team} {username}
- add a user to a specific team
nodeschoolbot --token={a-github-token} --secret={a-github-webhook-secret}
The token passed should have access to create repositories on nodeschool and to add members to teams.
When setting up the webhook it only needs to forward issue comments
MIT