Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
bell-off

GitHub Action

Close OpsGenie Alert

v1.2

Close OpsGenie Alert

bell-off

Close OpsGenie Alert

Close an OpsGenie Alert

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Close OpsGenie Alert

uses: rockem/close-opsgenie-alert-action@v1.2

Learn more about this action in rockem/close-opsgenie-alert-action

Choose a version

Close OpsGenie alert action

This action closes OpsGenie alert by providing an alert alias

Inputs

api_key

Required The api key provided by OpsGenie integration.

alias

Required The alias of the alert we want to close.

user

The actor of the close operation, by default it will be github-action

note

An added note to the close operation.

Example usage

uses: rockem/close-opsgenie-alert-action@v1.2
with:
    api_key: ${{ secrets.OPSGENIE_API_KEY }}
    alias: alert-alias
    user: kuku@gmail.com
    note: Closing alert as it's not relevant any more