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, warning] -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.2.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mattermost_notify-24.11.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ab649550db222f729f63c01f86faa492082ab9beaa8524ac174a8fa562ec6e0d
MD5 27395799dd933a9b01b580751ea41e9d
BLAKE2b-256 5f39eb515a94c306df32c3688359fac3f85dae0d193d2f25736b54280935c98b

See more details on using hashes here.

Provenance

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

Publisher: GitHub
  • Repository: greenbone/mattermost-notify
  • Workflow: deploy-pypi.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: mattermost_notify-24.11.2.tar.gz
    • Subject digest: ab649550db222f729f63c01f86faa492082ab9beaa8524ac174a8fa562ec6e0d
    • Transparency log index: 148354807
    • Transparency log integration time:

File details

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

File metadata

File hashes

Hashes for mattermost_notify-24.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 77b56a17219db667e7d3a66ab7922bbd92e9c91b71ad37ef18f94c6b7828f217
MD5 ce9024947c0d041ca900a31ff1cc9f16
BLAKE2b-256 45b341e2287fee29d50fd0b36193594b8a67e28cc11c6d458615d285b12d6d05

See more details on using hashes here.

Provenance

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

Publisher: GitHub
  • Repository: greenbone/mattermost-notify
  • Workflow: deploy-pypi.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: mattermost_notify-24.11.2-py3-none-any.whl
    • Subject digest: 77b56a17219db667e7d3a66ab7922bbd92e9c91b71ad37ef18f94c6b7828f217
    • Transparency log index: 148354810
    • Transparency log integration time:

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