Metrics #382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Metrics | |
on: | |
# Schedule daily updates | |
schedule: [{cron: "0 0 * * *"}] | |
# (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 | |
permissions: | |
contents: write | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
token: ${{ secrets.METRICS_TOKEN }} | |
# Options | |
user: RajMaheshP | |
template: classic | |
base: header, activity, community, repositories, metadata | |
config_timezone: Asia/Calcutta | |
plugin_topics: yes | |
plugin_topics_limit: 0 | |
plugin_topics_mode: icons | |
plugin_isocalendar: yes | |
plugin_skyline: yes | |
plugin_skyline_year: 2023 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
plugin_skyline_settings: | | |
{ | |
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}", | |
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')", | |
"wait": 4, | |
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"} |