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.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92dd33bd1f9e5e5a23f5c6fd3481740092356bb7fdcf4032b447d8e95b003561 |
|
MD5 | 84bc88a46eed99a96ce3fb743cda1817 |
|
BLAKE2b-256 | 1bc45e3592fbc73c79f94925c1b8c1e13d6281dc30ce588efda01b1a28ef62a6 |
Close
Hashes for mattermost_notify-22.5.0.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49c22034c6b5ace44ae4e2f7538f2c8cb0cf81c6486f5482d45e25a278a2801 |
|
MD5 | ecf4575b1f079f2030a818ebf8c8e7c6 |
|
BLAKE2b-256 | d0b45599318354cd8a18fbdcf01d9d22d4039ff188b5202b42dae6cfbc09f499 |