cookiecutter-hypermodern-python
cookiecutter-hypermodern-python copied to clipboard
Use cookiecutter _copy_without_render for github actions yaml files.
Maybe this has already been discussed and discarded, but it looks like using _copy_without_render in the cookiecutter.json for the github action yaml files could avoid a lot of confusing nested curly braces. It allows you to copy files, without sending them to jinja for rendering.
https://cookiecutter.readthedocs.io/en/2.1.1/advanced/copy_without_render.html
My cursory inspection of the yaml files did not find any that made use of cookiecutter values.
Or, use the {% raw %} {% endraw %} tags to avoid jinja processing by cookiecutter