Skip to content

Metrics

Metrics #1154

Workflow file for this run

# Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{ cron: "0 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
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: jonasbb
template: classic
config_gemoji: yes # use additional non-unicode emoji
retries: 3
retries_delay: 300
use_prebuilt_image: yes # faster execution
# base
base: header, activity, community, metadata # repositories
repositories_forks: yes
# The isocalendar plugin displays an isometric view of your commits calendar, along with a few additional stats like current streak and commit average per day.
plugin_isocalendar: no
plugin_isocalendar_duration: full-year # Display full year instead of half year
# The languages plugin displays which programming languages you use the most across all your repositories.
plugin_languages: yes
plugin_languages_ignored: html, css, javascript # List of languages to ignore
# plugin_languages_skipped: my-test-repo # List of repositories to skip
# plugin_languages_colors: "0:orange, javascript:#ff0000, ..." # Make most used languages orange and JavaScript red
plugin_languages_details: bytes-size, percentage # Additionally display total bytes size and percentage
# plugin_languages_threshold: 2% # Hides all languages less than 2%
# The coding habits plugin display metrics based on your recent activity, such as active hours or languages recently used.
plugin_habits: no
plugin_habits_from: 1000 # Use 200 events to compute habits
plugin_habits_days: 90 # Keep only events from last 14 days
plugin_habits_facts: yes # Display facts section
plugin_habits_charts: yes # Display charts section
config_timezone: Europe/Berlin
# The stars plugin displays your recently starred repositories.
plugin_stars: no
plugin_stars_limit: 4 # Limit to 4 entries
# The reactions plugin displays overall reactions on your recent issues and issue comments.
plugin_reactions: no
plugin_reactions_limit: 200 # Compute reactions over last 200 issue comments
plugin_reactions_days: 90 # Compute reactions on issue comments posted less than 14 days ago
plugin_reactions_details: count, percentage # Display reactions count and percentage
# The followup plugin displays the ratio of open/closed issues and the ratio of open/merged pull requests across all your repositories, which shows if they're well-maintained or not.
plugin_followup: no
# The lines of code plugin displays the number of lines of code you have added and removed across all of your repositories.
plugin_lines: yes
# The repositories traffic plugin displays the number of page views across your repositories.
plugin_traffic: yes
# The stargazers plugin displays your stargazers evolution across all of your repositories over the last two weeks.
plugin_stargazers: yes
# This plugin displays your GitHub discussions stats.
plugin_discussions: yes