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

Support for partial templating #99

Open
ccremer opened this issue Oct 2, 2021 · 0 comments
Open

Support for partial templating #99

ccremer opened this issue Oct 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ccremer
Copy link
Owner

ccremer commented Oct 2, 2021

There are use cases where a repository may need to customize a bigger part of a template, but keep everything managed by modulesync.
Those files would then be merged toghether.

Example 1: Add custom job to a GitHub workflow. One could provide such YAML via .sync.yml file, but maintaining GitHub actions in this file is not really the way to go.

Possible implementation:

  • With Go templating: {{ include "custom-file.txt" "fallback-text" }}
@ccremer ccremer added the enhancement New feature or request label Oct 2, 2021
@ccremer ccremer added this to the v0.3.0 milestone Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant