GoAlert Action
ActionsTags
(2)goalert-action
is a GitHub Action that sends alerts to the GoAlert API.
Use of the action is easy, see examples below.
Sending an alert with details containing newlines.
- name: Send Alert to GoAlert
uses: zolsec/goalert-action@master
with:
base_url: 'https://goalert.instance'
token: ${{ secrets.GOALERT_INTEGRATION_TOKEN }}
summary: 'Alert Summary'
details: |
Multiline
Alert
Details
action: 'close'
dedup: 'alert-dedup'
Sending an alert reliably courtesy of Wandalen/wretry.action, useful for simpler deployments of GoAlert which aren't highly available.
- name: Send Alert to GoAlert
uses: Wandalen/wretry.action@master
with:
action: zolsec/goalert-action@master
attempt_limit: 3
attempt_delay: 10000
with: |
base_url: 'https://goalert.instance'
token: ${{ secrets.GOALERT_INTEGRATION_TOKEN }}
summary: 'Alert Summary'
details: |
Multiline
Alert
Details
dedup: 'alert-dedup'
GoAlert Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.