config.output=json
stops working
#715
-
I'm currently in the process of trying to setup a GitHub action to show stats using this nice tool. However, for some reason does the I want to use it, to see all used options/settings, but for unknown reasons does it not return a JSON output for me. Can I fix this in some way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I managed to get a JSON output using the option in the GitHub Action, but now I am wondering, if I setup everything correctly for the action to properly push changes and update the markdown file as I want it to. If you don't mind would I appreciate, if you could take a quick look at this PR and tell me if everything is correct or needs some changes: |
Beta Was this translation helpful? Give feedback.
-
Hello! The web instance has a "cache system" which applies for each user, ignoring any further configuration changes (for one hour iirc). As for Andre601/Andre601#12, you can simplify your workflow by dropping all plugins option (the plugin toggles are still required though) - uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
user: Andre601
template: markdown
base: activity, community, repositories, metadata
config_timezone: Europe/Zurich
plugin_discussions: yes
plugin_followup: yes
plugin_isocalendar: yes
plugin_languages: yes
plugin_people: yes
plugin_stars: yes The
You also need to use Hope this helps 👍 |
Beta Was this translation helpful? Give feedback.
-
Sorry for all the notifs... but I now got it working. Had to add some missing settings which were not mentioned here, but in the docs of the markdown template option. The only thing I notice right now is, that some SVGs don't load. Not sure if that is a GitHub issue, or if the SVG is somehow malformed or smth... |
Beta Was this translation helpful? Give feedback.
Hello!
The web instance has a "cache system" which applies for each user, ignoring any further configuration changes (for one hour iirc).
If you retry later you should be able to access the JSON output 👍
As for Andre601/Andre601#12, you can simplify your workflow by dropping all plugins option (the plugin toggles are still required though)