My GitHub Discussions #733
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: My GitHub Discussions | |
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: GitHub Discussions | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.discussions.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_discussions: yes | |
plugin_discussions_categories: yes |