Skip to main content

Python tool to post GitHub Action runs to mattermost

Project description

Greenbone Logo

mattermost-notify

GitHub releases PyPI release code test coverage Build and test

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


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)

Uploaded Source

Built Distribution

mattermost_notify-23.7.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

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

Hashes for mattermost_notify-23.7.1.tar.gz
Algorithm Hash digest
SHA256 b32607bbc2f938f775651d43e94d339f4022404d7331b35da952307fa17bc305
MD5 07f91ba79bedff330088f129127e6ac6
BLAKE2b-256 8f69a53e452e42334a4cab0575ab33e7248b1c8a22b8870efdf714bd67bffda5

See more details on using hashes here.

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

Hashes for mattermost_notify-23.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c78f968ae8b8841f309aa05ee0ff865a11987cda114c99a6a38aa3e47999a2b4
MD5 a0b5cac2571a18b971890bb541f0fba1
BLAKE2b-256 73d43fc3efb36c31d2dc5f0e0265735f9b7bfce3f947b2ae247b8fc62af14eb6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page