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

Uploaded Source

Built Distribution

mattermost_notify-22.9.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file mattermost-notify-22.9.0.tar.gz.

File metadata

  • Download URL: mattermost-notify-22.9.0.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mattermost-notify-22.9.0.tar.gz
Algorithm Hash digest
SHA256 b35facfabc28ccec70411bc4037b5f715fd124e4968c16668c8c7f115074aa23
MD5 753053af781d3794306dd0b66a26ce19
BLAKE2b-256 24f7ad11cc0b5245b62f95bd1703db94e956b746b2e15c6a42571cd8c1167d59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mattermost_notify-22.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bbdde88bcbb0b8f6e055f5f51b03df4f37183b30c1d58a9c887b3cf41a6b100
MD5 46200b9017ba1f584174890425b9ee70
BLAKE2b-256 3105ec4087e9a462a2abca9c1b5fb19fcd915689e126787529e47afe2712eb31

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