You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Situation description: I forked this warehouse and added an enumeration of progress based on it. When using it in the workflow, I was prompted that the enumeration value could not be found
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 180, in get_stats
stats += await get_waka_time_stats(repositories, commit_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 36, in get_waka_time_stats
stats += f"{await make_commit_day_time_list(data['data']['timezone'], repositories, commit_dates)}\n\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/graphics_list_formatter.py", line 111, in make_commit_day_time_list
stats += f"**{title}** \n\n```text\n{make_list(names=dt_names, texts=dt_texts, percents=dt_percents, top_num=7, sort=False)}\n```\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/graphics_list_formatter.py", line 74, in make_list
data_list = [f"{n[:25]}{' ' * (25 - len(n))}{t}{' ' * (20 - len(t))}{make_graph(p)} {p:05.2f} % " for n, t, p in top_data]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/graphics_list_formatter.py", line 74, in <listcomp>
data_list = [f"{n[:25]}{' ' * (25 - len(n))}{t}{' ' * (20 - len(t))}{make_graph(p)} {p:05.2f} % " for n, t, p in top_data]
^^^^^^^^^^^^^
File "/waka-readme-stats/graphics_list_formatter.py", line 45, in make_graph
done_block, empty_block = Symbol.get_symbols(EM.SYMBOL_VERSION)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/graphics_list_formatter.py", line [34](https://github.com/Jayzhuoct/Jayzhuoct/actions/runs/6025913086/job/16347696947#step:3:35), in get_symbols
return Symbol[f"VERSION_{version}"].value
~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 795, in __getitem__
return cls._member_map_[name]
~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'VERSION_4'
sys:1: RuntimeWarning: coroutine 'AsyncClient.get' was never awaited
The text was updated successfully, but these errors were encountered:
Hey! I managed to solve this problem. When you're running your own forked action, you have to modify the action.yml file. Because it creates a Docker image with the original repo's branch master.
Situation description: I forked this warehouse and added an enumeration of progress based on it. When using it in the workflow, I was prompted that the enumeration value could not be found
The text was updated successfully, but these errors were encountered: