Python tool to post GitHub Action runs to mattermost
Project description
mattermost-notify
This tool is desired to post messages to a mattermost channel. You will need a mattermost webhook URL and give a channel name.
Installation
Requirements
Python 3.7 and later is supported.
Install using pip
pip 19.0 or later is required.
You can install the latest stable release of mattermost-notify from the Python Package Index (pypi) using [pip]
python3 -m pip install --user mattermost-notify
Usage
Print a free text message:
mnotify-git <hook_url> <channel> --free "What a pitty!"
Print a github workflow status:
mnotify-git <hook_url> <channel> -S [success, failure] -r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
License
Copyright (C) 2021-2022 Jaspar Stach
Licensed under the GNU General Public License v3.0 or later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mattermost-notify-22.7.1.tar.gz
(32.5 kB
view hashes)
Built Distribution
Close
Hashes for mattermost_notify-22.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb04165390a68affbf6b842992fc1f503fdd6ef0381b2debc8726f6591fc3ae7 |
|
MD5 | 5d890b06a5df5225513f328905c7e5fd |
|
BLAKE2b-256 | 0e90a3420cfa2cb7fc652740a827b3adec220ec469cd14c8fd935efa8591668f |