Skip to content

GitHub action for closing OpsGenie alert for a given alias

Notifications You must be signed in to change notification settings

rockem/close-opsgenie-alert-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: [email protected]
    note: Closing alert as it's not relevant any more