Metrics #33230
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 updates | |
schedule: | |
- cron: "0 * * * *" | |
# Lines below let you run workflow manually and on each commit | |
push: | |
branches: "master" | |
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.GITHUB_TOKEN }} |