-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
BUG: Action fails #443
Comments
action file name: Waka Readme
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
update-readme:
name: Update Readme with Metrics
runs-on: ubuntu-latest
steps:
- uses: anmol098/waka-readme-stats@master
with:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SHOW_UPDATED_DATE: "True"
SHOW_LINES_OF_CODE: "True" confirmed all tokens in workflow are not expired |
action log Traceback (most recent call last):
File "/waka-readme-stats/main.py", line 221, in <module>
run(main())
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 208, in main
stats = await get_stats()
^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 153, in get_stats
repositories = await collect_user_repositories()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 1[32](https://github.com/lgc2333/lgc2333/actions/runs/4616295581/jobs/8161128592#step:3:33), in collect_user_repositories
repo_names = [repo["name"] for repo in repositories["data"]["user"]["repositories"]["nodes"]]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 132, in <listcomp>
repo_names = [repo["name"] for repo in repositories["data"]["user"]["repositories"]["nodes"]]
~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable |
Run it with debug logs, please |
sorryyyyy... debug log here |
@lgc2333 Please, take a look at my comment here: the field is different, but the situation is similar, |
thanks!!!! |
No description provided.
The text was updated successfully, but these errors were encountered: