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.
Table of Contents
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-23.7.1.tar.gz
(37.0 kB
view details)
Built Distribution
File details
Details for the file mattermost_notify-23.7.1.tar.gz
.
File metadata
- Download URL: mattermost_notify-23.7.1.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b32607bbc2f938f775651d43e94d339f4022404d7331b35da952307fa17bc305 |
|
MD5 | 07f91ba79bedff330088f129127e6ac6 |
|
BLAKE2b-256 | 8f69a53e452e42334a4cab0575ab33e7248b1c8a22b8870efdf714bd67bffda5 |
File details
Details for the file mattermost_notify-23.7.1-py3-none-any.whl
.
File metadata
- Download URL: mattermost_notify-23.7.1-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78f968ae8b8841f309aa05ee0ff865a11987cda114c99a6a38aa3e47999a2b4 |
|
MD5 | a0b5cac2571a18b971890bb541f0fba1 |
|
BLAKE2b-256 | 73d43fc3efb36c31d2dc5f0e0265735f9b7bfce3f947b2ae247b8fc62af14eb6 |