plugin_wakatime_days defaults to 7 unexpectedly #1184
-
Minimum example derived from my usecase: - name: metrics
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
plugin_wakatime: yes
plugin_wakatime_token: ${{ secrets.WAKA_TOKEN }}
plugin_wakatime_days: 30
plugin_wakatime_sections: time, projects-graphs, languages-graphs, editors
plugin_wakatime_user: marvinscham
plugin_wakatime_url: https://waka.xn--schmkerei-37a.de Example run shows that the option is properly read into env. Later it appears to have defaulted to 7. For context, I'm using a self-hosted instance of wakapi. I checked whether it's wakapi's API but it doesn't appear to be the issue as it works normally for the 7 days it defaults to and I checked the
Note: It's configured to not require an API key for that range so you can open the link and just check for yourself. What am I doing wrong? Why does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi 👋 ! Thanks for debugging it, it was very helpful ! Will be fixed by next release by 7b831c1, thanks a lot for reporting it ! |
Beta Was this translation helpful? Give feedback.
Hi 👋 !
Thanks for debugging it, it was very helpful !
Indeed, it was broken due to a mis-typing between
string
/number
in themetadata.yml
of this plugin 😅Will be fixed by next release by 7b831c1, thanks a lot for reporting it !