-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Github integration is not run when printing context (--context
)
#780
Comments
Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️ |
Hey, are you using GitHub related fields (e.g. I tried the following and it worked fine: git cliff --context -c github |
Do I understand it right that I have to use those fields in my templates or else they won't be fetched? Currently I'm using |
Yup, that's correct. |
I see. The line of thought that led me here was that I configured the integration, then I wanted to check if it works by printing out the context and found that it was empty because I haven't touched the templates yet. Also after #657 is implemented, I believe that users may want to do |
I guess we can add another check where if the |
That sounds perfect! |
Is there an existing issue for this?
Description of the bug
Github integration is not run when printing context, so all the fields added by the integration are empty.
Steps To Reproduce
git cliff
git cliff --context
*.github
context fields are emptyExpected behavior
I'd expect the integration to run (and populate the context) in both cases.
Screenshots / Logs
No response
Software information
Additional context
No response
The text was updated successfully, but these errors were encountered: