mirror of
https://github.com/Fishwaldo/Fishwaldo.git
synced 2025-03-15 19:42:19 +00:00
22 lines
655 B
YAML
22 lines
655 B
YAML
name: Metrics
|
|
on:
|
|
# Schedule updates (each hour)
|
|
schedule: [{cron: "0 * * * *"}]
|
|
# Lines below let you run workflow manually and on each commit (optional)
|
|
workflow_dispatch:
|
|
push: {branches: ["master", "main"]}
|
|
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 }}
|
|
- uses: lowlighter/metrics@latest
|
|
with:
|
|
template: terminal
|
|
filename: metrics.terminal.svg
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
base: header, metadata
|