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.1.0

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.1.0

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

Choose a version

Close OpsGenie alert action

Tests Compile index.js

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.

using_eu_url

Default value is false. Must set to true if required OpsGenie API endpoint is 'https://api.eu.opsgenie.com'.

Example usage

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