Skip to content

Metrics

Metrics #231

Workflow file for this run

name: Metrics
on:
# Updated daily
schedule: [{cron: "0 0 * * *"}]
# Or manually
workflow_dispatch:
# Or when pushing to main
push: {branches: ["main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: metrics
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
user: bnjam
template: classic
base: header, activity, community, repositories, metadata
plugin_followup: yes
plugin_followup_sections: repositories
repositories: 1000
repositories_forks: yes
- name: Labels
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.topics.svg
token: NOT_NEEDED
base: ""
plugin_topics: yes
plugin_topics_limit: 12
- name: Most used
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.languages.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: jupyternotebook, html, css, ts
plugin_languages_limit: 10
- name: Recent activity
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.activity.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_activity: yes
plugin_activity_limit: 5
plugin_activity_days: 0
plugin_activity_filter: issue, pr, release, fork, review, ref/create