Create metrics.yaml

This commit is contained in:
Dmitri Shimanski
2026-05-16 00:46:00 +03:00
committed by GitHub
parent b9dfb8fd2c
commit 92618fb558
+42
View File
@@ -0,0 +1,42 @@
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "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
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# The following additional scopes may be required:
# - read:org (for organization related metrics)
# - read:user (for user related data)
# - read:packages (for some packages related data)
# - repo (optional, if you want to include private repositories)
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: yawaflua
template: classic
base: header, activity, community, repositories, metadata
base_hireable: yes
base_indepth: yes
config_timezone: Asia/Jerusalem
plugin_steam: yes
plugin_steam_token: ${{ secrets.STEAM_TOKEN }}
plugin_steam_achievements_limit: 2
plugin_steam_games_limit: 1
plugin_steam_playtime_threshold: 2
plugin_steam_recent_games_limit: 1
plugin_steam_sections: player, most-played, recently-played
plugin_steam_user: 76561198810888396
repositories_forks: yes