Skip to content

refactor: use token

refactor: use token #2

Workflow file for this run

name: Metrics
on:
# Schedule updates
schedule: [{ cron: "0 22 * * 0" }]
push: { branches: ["master", "main"] }
workflow_dispatch:
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
# See action.yml for all options
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
token: ${{ secrets.METRICS_TOKEN }}
# GITHUB_TOKEN is a special auto-generated token restricted to current repository, which is used to push files in it
committer_token: ${{ secrets.TOKEN }}
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
plugin_languages: yes
plugin_languages_sections: recently-used
plugin_languages_recent_load: 600
plugin_languages_recent_days: 30
plugin_stars: yes