Template repo to quickly make a tested and documented GitHub action in Python with Poetry

Getting started from the template
- Rename the
src/action_python_poetry
package. - Globally replace instances of
action-python-poetry
andaction_python_poetry
with your project and package name. - If your repo is private, set it up on CodeCov and add a codecov token to your repo under the
CODECOV_TOKEN
secret. - Create and test your action.
__main__.py
in your package will be executed when the action is run. The environment variables your tests use can be set inpyproject.toml
and/or managed in test fixtures. - Update
action.yml
,README.md
, and.github/workflows/test-action.yml
to reflect your action’s specification. - Update
LICENSE.md
as appropriate, making sure to retain the original copyright and permissions notices in your distribution according to the MIT license that this template is distributed under. - Remove this section from
README.md
. - Happy hacking!