Skip to main content

Python package for creating custom GitHub Actions.

Project description

Build Status Coverage

github-custom-actions

Python package for creating custom GitHub Actions.

Example of usage

from github_custom_actions import ActionBase

class MyAction(ActionBase):
    def main(self):
        self.outputs["runner-os"] = self.env.runner_os
        self.summary += (
            self.render(
                "### {{ inputs['my-input'] }}.\n"
                "Have a nice day!"
            )
        )

if __name__ == "__main__":
    MyAction().run()

Documentation

Developers

Do not forget to run . ./activate.sh.

Scripts

Install invoke and pre-commit preferably with pipx:

pipx install invoke pre-commit

For a list of available scripts run:

invoke --list

For more information about a script run:

invoke <script> --help

Coverage report

Created with cookiecutter using template

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_custom_actions-2.3.2.tar.gz (89.9 kB view details)

Uploaded Source

Built Distribution

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

github_custom_actions-2.3.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file github_custom_actions-2.3.2.tar.gz.

File metadata

  • Download URL: github_custom_actions-2.3.2.tar.gz
  • Upload date:
  • Size: 89.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for github_custom_actions-2.3.2.tar.gz
Algorithm Hash digest
SHA256 57e0008a71b19d2892a6523bccc780348a56059329129412ead1fd36e63b7903
MD5 d86a81d58b23b293ac09c9068db9ec40
BLAKE2b-256 817f7914f89c7efd49381d214839aad98d2b57cbd53dbe6f5cb145ab4887aab0

See more details on using hashes here.

File details

Details for the file github_custom_actions-2.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for github_custom_actions-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c08da57b57ce4462e419862f02542dbe7b106cd5e14f242659e2a3d904fec35
MD5 9dcf73466f8d17cd1c5690ce5107d098
BLAKE2b-256 e3258e1077e6b505fb07d5079d9eb555ea00305aa4020f41473a2fe72bb35490

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