Skip to content

Metrics

Metrics #194

Workflow file for this run

name: Metrics
on:
# Schedule daily updates
schedule:
- cron: "0 0 * * *"
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/graphs
push:
branches:
- graphs
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- name: Example
uses: lowlighter/metrics@latest
with:
template: repository
filename: metrics.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
user: SwaragThaikkandi
repo: SMdRQA
- name: Create Repository Tree
uses: actions/checkout@master
- name: Update Repository Tree
uses: githubocto/[email protected]
with:
output_file: "metrics.tree.diagram.svg"
branch: "graphs"
- name: Half-year calendar
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.isocalendar.fullyear.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
- name: Most used
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.languages.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_limit: 4
- name: Repositories and diff history
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.lines.history.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_lines: yes
plugin_lines_delay: 30
plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 2
plugin_lines_history_limit: 1
repositories_skipped: |
@use.patterns
*/*
+lowlighter/metrics
- name: Comment reactions
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.reactions.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_reactions: yes
plugin_reactions_limit: 100
plugin_reactions_details: percentage
- name: Full history calendar
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.calendar.full.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
plugin_calendar_limit: 0