athul / waka-readme

Wakatime Weekly Metrics on your Profile Readme.
https://github.com/athul
MIT License
1.52k stars 301 forks source link

Failed to run workflow #117

Closed NoNormalCreeper closed 1 year ago

NoNormalCreeper commented 1 year ago

The GitHub Actions workflow had run several times successfully in the past.

But when I manually change the jobs.steps.uses arguement from anmol098/waka-readme-stats@master to anmol098/waka-readme-stats@V3, and then run the workflow at 12/22/2022, I found it failed to run -> log

Then I changed the uses argument back to anmol098/waka-readme-stats@master, but don't work -> log

I thought it was because of timeout in generating the loc chart, so I disabled it, but still don't work -> log

You can check the commit log of my profile repo.

I'll be sincerely appreciative if you can take time out of your busy schedule to solve my problem.

yozachar commented 1 year ago

Hi @NoNormalCreeper, you've referenced the wrong repository in your workflow file

...
    steps:
      - uses: anmol098/waka-readme-stats@master
...

It should be this instead.

...
    steps:
      - uses: athul/waka-readme@master
...

And

          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
          SHOW_LINES_OF_CODE: "True"
          SHOW_TOTAL_CODE_TIME: "True"
          SHOW_LOC_CHART: "False"

You do not need GH_TOKEN: ${{ secrets.GH_TOKEN }} on profile readme. Provide true instead of "True" in YAML.


I think you've got the wrong project. Please refer to https://github.com/athul/waka-readme#readme, if you want to use athul/waka-readme

NoNormalCreeper commented 1 year ago

Sorry for disturbing you, I opened an issue in the wrong project -- I imported anmol098/waka-readme-stats in my profile page and encountered a problem but asked for it in your repo. I'm not an English native speaker, sorry if I used harsh words or strongly worded.