0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-09 23:35:00 +00:00
terraform-provider-proxmox/.github/workflows/metrics.yml
Pavel Boldyrev a030542da0
chore(ci): add link checker, reformat actions code (#944)
* chore(ci): add link checker, reformat actions code

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* chore: use bot app token

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-21 03:43:08 +00:00

32 lines
783 B
YAML

name: Publish Metrics
on:
schedule:
- cron: "0 0 * * *" # every day at 00:00 UTC (8pm EST)
workflow_dispatch:
push:
branches:
- "main"
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Generate Metrics
uses: lowlighter/metrics@latest
with:
template: repository
filename: metrics.svg
user: bpg
repo: terraform-provider-proxmox
token: "${{ secrets.METRICS_TOKEN }}"
output_action: gist
committer_gist: 2cc44ead81225542ed1ef0303d8f9eb9
plugin_lines: yes
plugin_followup: yes
plugin_stargazers: yes
plugin_stargazers_days: 365
plugin_stargazers_charts_type: graph