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

Uploaded Source

Built Distribution

mattermost_notify-24.11.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mattermost_notify-24.11.1.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mattermost_notify-24.11.1.tar.gz
Algorithm Hash digest
SHA256 b4297df91a4a73760b1027053c3ac6e15ee5b8055ffba94a288c67df7011ad7f
MD5 92825857da664870ddf5a677cfee1747
BLAKE2b-256 12619f6988a52cc21792590a8f307dfd33af01888db325da32e589f0c6916d01

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattermost_notify-24.11.1.tar.gz:

Publisher: deploy-pypi.yml on greenbone/mattermost-notify

Attestations:

File details

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

File metadata

File hashes

Hashes for mattermost_notify-24.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82d9444bcba0b81c4b6ba2026c7bb6c2f9f7c79b5e9c11b0b8c1063d1a819c7a
MD5 49bd233777a39245b1d244836c8bd87e
BLAKE2b-256 84ec897bf577bd83bfa977677caa79f3d8aa88b4cc2f20c2f5f4ef758f2d8b47

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattermost_notify-24.11.1-py3-none-any.whl:

Publisher: deploy-pypi.yml on greenbone/mattermost-notify

Attestations:

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