A webtask to summarize your team git activity.
Sumitup helps team leaders (and members) to keep track of their organization progress during the day. It collects updates about repositories, issues and pull requests and compile a little summary about the progress of the team.
-
Clone the repo and run
npm install
to download the dependencies. -
Add the following values to your secrets using the secret file or the web editor:
api_token
: github api token that you can generate here.api_endpoint
: api.github.comapi_header
:application/vnd.github.v3+json
-
Build the webtask file to be compiled the ES6 code to an older version.
$ npm run build
-
Create a webtask using the cli tool or the web app. Check this link for help.
$ wt create --secrets-file=PATH/TO/SECRET-FILE --name=sumitup ./build/webtask.js [email protected] [email protected]
-
Try it out!
$ curl https://<your-profile-url>.run.webtask.io/sumitup?orgName=google | json_pp
In order to install sumitup as a Slack slash command you need to do the following:
- Follow this guide to add a slash command to your slack workspace.
- Use the webtask url as your 'Request URL'.
- Add the Slack verification token to your secrets.
- Enjoy!