GitHub
How to integrate GitHub with Hotpot.
You can create moments or page someone via GitHub Actions.
Example: Sending Hotpot a moment on action failure
GitHub actions are commonly used to automate tasks such as deploys. When such a task fails, it may warrant an investigation and, therefore, a moment!
Your first step will be to get a Hotpot API key and add it as a secret to your GitHub Action. This example uses a secret named HOTPOT_WEBHOOK_URL
.
Next, add the moment creation as a step
:
Note that you can adjust the tags and contents to suit your needs!
Last updated