Metrics #7967
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
# 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: Liangtie | |
template: classic | |
base: header, activity, community, repositories | |
config_timezone: Europe/Moscow | |
plugin_followup: yes | |
plugin_followup_archived: yes | |
plugin_followup_sections: repositories | |
plugin_notable: yes | |
plugin_notable_from: all | |
plugin_notable_repositories: yes | |
plugin_notable_types: commit, pull_request, issues |