Skip to main content

Package of useful functions for GitHub Actions.

Project description

Github Actions Utils

GitHub last commit Latest GitHub Release Date

GitHub

GitHub commit activity (branch)

GitHub commits since latest release (by SemVer including pre-releases)

GitHub contributors

GitHub top language

GitHub all releases

PyPI - Downloads

GitHub issues

GitHub pull requests

GitHub Discussions

PyPI - Status

PyPI - Python Version

GitHub code size in bytes

GitHub repo file count (file type)

GitHub repo file count (file extension)

GitHub repo size

GitHub Repo stars

GitHub watchers

PyPI - Version


CI/CD Code Quality Code Quality

CI/CD Code Quality Code Quality

Sonarcloud

Quality Gate Status

Vulnerabilities Duplicated Lines (%) Reliability Rating Technical Debt Coverage Lines of Code Code Smells Maintainability Rating Security Rating Bugs

Sonarcloud

Coverage Status

GitHub

Log Utils

github group decorator

from github_actions_utils.log_utils import github_group

@github_group("foo")
def foo():
    code

Will produce in github action log

▸ foo

You can use the function parameters as input like:

@github_group("Running $cmd")
def run(cmd):
    code

When your code calls the run function will print user the value from cmd parameter:

run("nice command")
▸ Running nice command

Even if the value is an object and you want a value from the object attribute:

@github_group("Hello $(person.name)")
def hello(person):
    code
p = Person(name="Heitor")
hello(p)
▸ Hello Heitor

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

github_actions_utils-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_actions_utils-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file github_actions_utils-0.0.1.tar.gz.

File metadata

  • Download URL: github_actions_utils-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for github_actions_utils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3976c86eac036513ef99e03a95e72a8d179c99849ff9caa6f24087e7cfeea167
MD5 2b8afb686b3d43b0e25557714389f7e4
BLAKE2b-256 0c476e3a76759d2454c1142699448b9a88e4b056e20c0fb05e5d1e84ba737ad7

See more details on using hashes here.

File details

Details for the file github_actions_utils-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for github_actions_utils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2045ef32dd30303183c23b11c43df8c2d3b65cd4af1094a0c5cfb28280d77154
MD5 f475a8bc0b6ebe80b77bebd032c5ca46
BLAKE2b-256 42ef4b6c994441e05b40a2d508cf00d4302850412fb701fe6bb4ca387d2db067

See more details on using hashes here.

Supported by

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