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-24.1.0.tar.gz
(36.5 kB
view details)
Built Distribution
File details
Details for the file mattermost_notify-24.1.0.tar.gz
.
File metadata
- Download URL: mattermost_notify-24.1.0.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4cb0a4dc3bf9a64b7566d7f57ca3f12b1d6dc1a9af7e0833a86a83e479bf13 |
|
MD5 | b98252b00be7e35650deaec4c6081c30 |
|
BLAKE2b-256 | 01547d64108b0b08949cd44e8ad643b4fe882b3fbf8a68fbc78dbeb4d8dc2233 |
File details
Details for the file mattermost_notify-24.1.0-py3-none-any.whl
.
File metadata
- Download URL: mattermost_notify-24.1.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96271df7cf5d3b6135fc65a3290933f853e8b3fd03a710270fffcc1e49ade574 |
|
MD5 | 0dfe6003f8f9985abe2f64280853d4c9 |
|
BLAKE2b-256 | 47ed78b946c68d78705416db0bfd60708baf8904c65df2480eec3c8054e64d10 |