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.2.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0e31847d302f4c187139c1d5a1119333e94d4f3378adc79f5b7f2771add386 |
|
MD5 | 489a5f4b1eeff624b7207f493c47006a |
|
BLAKE2b-256 | 1c506a85df6e49bc8363cafaab854e84a0a707c1712e13208c27945c8f4a4055 |
Close
Hashes for mattermost_notify-22.5.2.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7885df2ef9b2dd8aea9396488d965efcadfbec7c6aa40339c3314a0dad8ea21 |
|
MD5 | 961b6b03a20b2d1876dae5e216080452 |
|
BLAKE2b-256 | f5452956d81ca98efb1eb3339ab35777f83e68c2902b3c99b73bf03d1a247705 |