This action sends a mattermost notification with the action build status
Mattermost webhook URL.
Mattermost channel name.
Text to insert into the message.
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"}
]
Mattermost user displayed name
Mattermost user displayed icon
uses: asfadmin/action-notify-mattermost@v1
with:
webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: mattermost-channel-name
text: started