Please DO NOT upload the Slack API token to this repository. The moment you do this, Slack will revoke access to that API token and you will need to create a new API token.
- Log into Sandbox_Clio_Developer via Okta
- See DynamoDB, Lambda and API Gateway for details
API Gateway is used as a webhook entry point so Github call call it and implicitly invoke our lambda function. For more details, see the API Gateway in the AWS Console.
We use lambda to process webhook events from Github. Lambda will post data to Slack after processing
- To deploy your lambda function, please run the
zip.shfile locally. It will create a file calledgithub_webhook_handler.zipin the directory one level above. - Upload
github_webhook_handler.zipto the lambda function console by clicking on theUpload fromdropdown at the right side of the page. - Trigger the function either by creating a pull request, or by clicking
teston the lambda function console. Note that this only triggers theopenedevent
Dynamo DB stores a mapping between pull request URLs and their corresponding post in Slack. This will be used to comment and add emojis to existing posts in Slack. For more information, see the Dynamo DB table in the AWS Console.