Closed rong-xiaoli closed 6 months ago
Hi, it says Invalid input @ line 165
, which is triggered when either of these variables are empty:
https://github.com/athul/waka-readme/blob/1d056b65fe8e5558c8e17d786667099b975f5291/main.py#L164-L166
In your full log, I can see GH_TOKEN
and REPOSITORY
, can you please double check your secrets for API_BASE_URL
and WAKATIME_API_KEY
?
Oh thanks, I found my API_BASE_URL is not filled. This should be the reason. I'll try and give out result soon.
Another question, here:
https://github.com/athul/waka-readme/blob/1d056b65fe8e5558c8e17d786667099b975f5291/README.md?plain=1#L169
it says that: API_BASE_URL
is optional, so I didn't fill it.
Is it optional or I should fill it as an necessary param in my action YAML file?
Oh I got it. I messed up. So here's what happend: I followed one's profile page and copied his/her/xer WakaTime YAML config file and didn't check. In that YAML file it wrote:
with:
API_BASE_URL: ${{ secrets.WAKAPI_BASE_URL }}
WAKATIME_API_KEY: ${{ secrets.WAKAPI_API_KEY }}
And what I configured is GH_TOKEN
and WAKATIME_API_KEY
, but API_BASE_URL
is not configured. So that's why this problem happend.
My bad not double-checking my YAML file.
Thanks for helping.
Edit 2024-04-29 15:56 UTC0800
I found it not working with the GH_TOKEN
filled. So I removed this part.
Sorry, mis operation. I got this problem solved.
Action log:
I suppose it's because my username? No idea about what happend, sorry. Complete log: