mirror of
https://github.com/PacketParker/PacketParker.git
synced 2025-04-10 19:04:05 -05:00
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
|
|
name: Metrics
|
|
on:
|
|
schedule: [{cron: "0 0 * * *"}]
|
|
workflow_dispatch:
|
|
push: {branches: ["master", "main"]}
|
|
jobs:
|
|
github-metrics:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: lowlighter/metrics@master
|
|
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: PacketParker
|
|
template: classic
|
|
base: header
|
|
config_timezone: America/Chicago
|
|
commits_authoring: PacketParker, contact@pkrm.dev, Parker M, Parker M., Parker
|
|
plugin_languages: yes
|
|
plugin_languages_limit: 4
|
|
plugin_languages_indepth: yes
|
|
plugin_languages_details: lines, bytes-size
|
|
plugin_languages_analysis_timeout_repositories: 30
|