Stackoverflow Metrics #752
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Visit https://github.com/lowlighter/metrics#-documentation for full reference | |
name: Stackoverflow Metrics | |
on: | |
# Schedule updates (At 12:30AM Every Night) | |
schedule: [{ cron: "30 0 * * *" }] | |
# Lines below let you run workflow manually and on each commit | |
workflow_dispatch: | |
push: { branches: ["master", "main"] } | |
jobs: | |
github-metrics: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Top answers from stackoverflow | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.stackoverflow.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_stackoverflow: yes | |
plugin_stackoverflow_user: 13128057 | |
plugin_stackoverflow_sections: answers-top | |
plugin_stackoverflow_limit: 2 |