Skip to content

Metrics

Metrics #1661

Workflow file for this run

name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "* * 23 * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Classic
uses: lowlighter/metrics@main
with:
filename: metrics.classic.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, repositories
plugin_lines: yes
- name: Achievements
if: ${{ success() || failure() }}
uses: lowlighter/metrics@main
with:
filename: achievements.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_display: detailed
plugin_achievements_threshold: X
plugin_achievements_ignored: >-
manager, packager, sponsor, deployer, chatter, helper, explorer, infographile, octonaut
- name: Most used (with details)
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.languages.details.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, qmake, lex, cmake, gnuplot
plugin_languages_details: bytes-size, percentage
plugin_languages_limit: 4
- name: Indepth analysis
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.languages.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, qmake, lex, cmake, gnuplot
plugin_languages_indepth: yes
plugin_languages_details: lines, bytes-size
plugin_languages_limit: 4
plugin_languages_analysis_timeout: 15
- name: Gists
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.gists.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_gists: yes
- name: XKCD of the day
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_screenshot: yes
plugin_screenshot_title: XKCD of the day
plugin_screenshot_url: https://xkcd.com
plugin_screenshot_selector: "#comic img"
- name: Midly interesting facts
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.habits.facts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_habits: yes
plugin_habits_facts: yes
plugin_habits_charts: no
config_timezone: America/Boise
- name: Recent activity charts
uses: lowlighter/metrics@main
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: America/Boise
- name: Recently starred
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.stars.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stars: yes
plugin_stars_limit: 5
- name: Indepth analysis of Notable Contributions
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.notable.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_notable: yes
plugin_notable_indepth: yes
plugin_notable_repositories: yes
- name: Indepth analysis
uses: lowlighter/metrics@main
with:
filename: metrics.plugin.followup.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_followup: yes
plugin_followup_indepth: yes