Skip to content

asfadmin/action-notify-mattermost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notify Mattermost Action

This action sends a mattermost notification with the action build status

Inputs

webhook-url (required)

Mattermost webhook URL.

channel (required)

Mattermost channel name.

text (required)

Text to insert into the message.

statuses

Add a colored attachment to the message indicating a list of failed and succeeded statuses.

statuses: |
  [
    {"name": "Build Artifact", "status": "success"},
    {"name": "Deploy", "status": "failure"},
    {"name": "Run Report", "status": "skipped"}
  ]

username

Mattermost user displayed name

icon-url

Mattermost user displayed icon

Example usage

uses: asfadmin/action-notify-mattermost@v1
with:
  webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
  channel: mattermost-channel-name
  text: started

About

GitHub Action to send build status to Mattermost

Resources

License

Stars

Watchers

Forks

Packages

No packages published