-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow user to customise gci sections #132
Conversation
To allow the user of these tasks to specify their own sections, I've introduced the GCI_SECTIONS variable (which is not defined on purpose). This also fixes the mismatch between the `gci` and `gci-write` tasks where the latter did specify sections and the former did not.
I know you mentioned: |
Yes, that would be a problem since, as far as I could tell from a quick experiment, I could not override the "default" via the
Not sure what you mean with "depend on the repository name". But the task still works if the variable is not defined. (And that is also why I did not add a
Sure, I can add something to the |
@markvl-sbp Could you try:
|
This indeed works, if you use this to override the variable: includes:
remote:
taskfile: <url to this Taskfile.yml>
vars:
SOMETHING: 'SomethingElse' If you simply add the I'll update the PR (including the README) to reflect this new insight. |
a0360a8
to
9867a73
Compare
To allow the user of these tasks to specify their own sections, I've introduced the GCI_SECTIONS variable
(which is not defined on purpose).This also fixes the mismatch between the
gci
andgci-write
tasks where the latter did specify sections and the former did not.