Metrics #2306
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 (each hour) | |
schedule: [{cron: "0 0 * * *"}] | |
# Lines below let you run workflow manually and on each commit (optional) | |
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.GITHUB_TOKEN }} | |
# # ... other options | |
# plugin_skyline: yes | |
# plugin_skyline_year: 2023 # Set to 0 to display current year | |
# plugin_skyline_frames: 60 # Use 60 frames (half-loop) | |
# plugin_skyline_quality: 1 # Scale-down quality by half to reduce file-size (⚠️ higher quality increase file size) |