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.text += (
            self.render(
                "### {{ inputs['my-input'] }}.\n"
                "Have a nice day!"
            )
        )

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

Documentation

Github Custom Actions

Developers

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

Scripts

Install invoke preferably with pipx:

pipx install invoke

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

Uploaded Source

Built Distribution

github_custom_actions-2.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: github_custom_actions-2.2.0.tar.gz
  • Upload date:
  • Size: 87.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.6

File hashes

Hashes for github_custom_actions-2.2.0.tar.gz
Algorithm Hash digest
SHA256 d02f46c9f3b266f31ab209bae05f7999a679bc26eaa52ec253e5afbf04e1f30c
MD5 91112e9aca71145b13c5f0b72fec8d4c
BLAKE2b-256 6a53c53d3443324eb6af79391ef8beed9447a4c70ba22febb1000f98b33b90d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for github_custom_actions-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b6795290baeb0d79ad6b28ce46800dc9ab1729bab073ec23e4bbdd2f9c5817f
MD5 2fb2e6003c65149bf5b8e68d4105c18c
BLAKE2b-256 f8cbb71f3a19c0c1000d28dd128b2084112a03ca0d117416ee5fe063c0098ba5

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