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.0.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

mattermost_notify-23.7.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file mattermost_notify-23.7.0.tar.gz.

File metadata

  • Download URL: mattermost_notify-23.7.0.tar.gz
  • Upload date:
  • Size: 36.4 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.0.tar.gz
Algorithm Hash digest
SHA256 d97e5cc89b764cdd27e8ad36ebb032271450c5ccbff2f78776e98e53409e84db
MD5 63b70d2366253c6f70d20dc150f18b13
BLAKE2b-256 e0c977e04a816f96fac635c0a76e6337c5eaa6cb2a316e1954279799e435fb40

See more details on using hashes here.

File details

Details for the file mattermost_notify-23.7.0-py3-none-any.whl.

File metadata

  • Download URL: mattermost_notify-23.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5e0edd975c2bbe0ecef07594862c03c3a28bfcb072307309d0b387b128c427
MD5 797ba612de57d8dc677e3869fbac28d1
BLAKE2b-256 cb9f2cd60a15a25054a55153cf25ff6f3ee7f787939e6d6f8c3a55be56bf7830

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