-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instatus: Create incident when important github action fails #30563
Conversation
uses: joelwmale/webhook-action@master | ||
with: | ||
url: ${{ secrets.INSTATUS_CONNECTOR_CI_WEBHOOK_URL }} | ||
body: '{ "trigger": "down" }' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a rather reasonable payload :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is instastatus smart enough to know which named service the incident belongs to based on the action name or something like that? Or, since we are using the same INSTATUS_CONNECTOR_CI_WEBHOOK_URL, are these incidents all in the same service?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not find documentation for passing any type of arguments to a instatus template. So we cannot specify what failed in the incident
Maybe... multiple URLS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately small payload means much less context.
So the webhook url (and as a result the instatus template) is the area that "knows" what service this relates too.
This means that we have two instatus services
- Platform Critical Github Actions
- Connector Critical Github Actions
which each have a unique template
and each of those templates have a unique webhook url
One of them is defined in our secrets as INSTATUS_CONNECTOR_CI_WEBHOOK_URL
and the other INSTATUS_PLATFORM_CI_WEBHOOK_URL
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Overview
Creates or resolves an incident on the internal instatus page if an action is passing or failing

Notes for reviewers