Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cookiecutter _copy_without_render for github actions yaml files. #1280

Open
DonalChilde opened this issue Dec 23, 2022 · 1 comment
Open

Comments

@DonalChilde
Copy link

DonalChilde commented Dec 23, 2022

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.

@DonalChilde
Copy link
Author

Or, use the {% raw %} {% endraw %} tags to avoid jinja processing by cookiecutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant