Stackoverflow plugin generation error #571
-
- name: 🗨️ Stackoverflow
if: ${{ success() || failure() }}
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stackoverflow.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stackoverflow: yes
plugin_stackoverflow_user: 8689681
plugin_stackoverflow_sections: answers-top
plugin_stackoverflow_limit: 2
plugins_errors_fatal: ${{ github.repository == 'lowlighter/lowlighter' }}
output_action: pull-request
delay: 120 here is the generated file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello! Thanks for using this GitHub Action 🙂 I think you should remove Because of this, the stackoverflow plugin never gets actually updated, because it is placed after the language step. The render you got is because it has never been actually updated and the config at that time was incomplete. With settings you linked above, you'll get your stats as expected (see below). An additional note, when using Hope this helps 👍 ! |
Beta Was this translation helpful? Give feedback.
-
thanks for the answer and the explanation - great plugin btw :) |
Beta Was this translation helpful? Give feedback.
Hello!
Thanks for using this GitHub Action 🙂
I think you should remove
plugin_languages_indepth: yes
from your workflow, it's making the runner timeout (unfortunately it seems you have repositories with too much commits for this feature so you need to use the default algorithm for this plugin).Because of this, the stackoverflow plugin never gets actually updated, because it is placed after the language step.
The render you got is because it has never been actually updated and the config at that time was incomplete. With settings you linked above, you'll get your stats as expected (see below).
An additional note, when using
output_action: pull-request
, it is expected that you usepull-req…