Python package for creating custom GitHub Actions.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_custom_actions-2.3.1.tar.gz.
File metadata
- Download URL: github_custom_actions-2.3.1.tar.gz
- Upload date:
- Size: 92.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e8e94b45a5ee9bbfbf92c3b948cc73d3f8a465125ac7ebb880c782aafd7b161
|
|
| MD5 |
375c95db33f30353ee087d2e8e16eba5
|
|
| BLAKE2b-256 |
878e78189ed354096f73fef60ba96f95601c16f9a65992fa5d08d80dc022fa0d
|
File details
Details for the file github_custom_actions-2.3.1-py3-none-any.whl.
File metadata
- Download URL: github_custom_actions-2.3.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a7ba969d3f396d3698aafb36ba89f24e544f7fb38b7c65b90a04f7e1f978874
|
|
| MD5 |
1bd7eedb8f1283b584ad3f8dd989f170
|
|
| BLAKE2b-256 |
06c48d929a5d052f84577aa55cac609f36e6298696ff4ddecc9d2711439718fb
|