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 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.2.tar.gz (90.4 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.2.2-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for github_custom_actions-2.2.2.tar.gz
Algorithm Hash digest
SHA256 9a19bc00aacb2bb5d1df5992c11d6d224974157046dde3fd241c1b9c98c89831
MD5 4e5ceeb0064370f09567503be5b97c9e
BLAKE2b-256 2f41095e213441090c7af097019466ea4f215920def1d8df65007dfd685fff01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for github_custom_actions-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 778174898986143fd26cead097b1965f4bf2988725ad6f7433e77f4640124dfe
MD5 da52a052efd87a93e7aa5990e5e85d98
BLAKE2b-256 9981c830f574b31789b848be41a89d65785b831aa95a07d6a1f99d4fa16708c6

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