Skip to content

Stats

Stats #14186

Workflow file for this run

name: Stats
on:
# Schedule daily updates
schedule: [{cron: "10 * * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- name: Overview
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
- name: Mildly interesting facts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.habits.charts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_habits: yes
plugin_habits_facts: no
plugin_habits_charts: yes
config_timezone: Europe/London
- name: Gists
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.gists.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_gists: yes
- name: LeetCode
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.leetcode.svg
token: NOT_NEEDED
base: ""
plugin_leetcode: yes
plugin_leetcode_user: xpn
plugin_leetcode_sections: solved, skills, recent
- name: Achievements
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.achievements.compact.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_only: >-
polyglot, stargazer, sponsor, deployer, member, maintainer, developer,
scripter, packager, explorer, infographile, manager
plugin_achievements_display: compact