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
Built Distribution
Close
Hashes for mattermost-notify-22.5.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f48327cea059ce874e4cd70e37ad2c90cf4e4cf237a9f10af675fe2a7f546b |
|
MD5 | 11e35d9b7904c19a0d2e16474d3b5d87 |
|
BLAKE2b-256 | 19b61b2bf1d7cdd5a3ea9d08d337065c34f3981657a008d23831a953850b1a10 |
Close
Hashes for mattermost_notify-22.5.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e5c43a4ce42bcdb7034e1ea3193c3d2f162353a04cd534811f016fcaf98808 |
|
MD5 | d6b85ae8144240803651ab2f026de71f |
|
BLAKE2b-256 | 9832eb6cf4fda52e1feb1f04cbd235a5c092726ef98238b19f0ab96c2af277a4 |