Skip to content

repo-stats

repo-stats #1209

Workflow file for this run

name: repo-stats
on:
schedule:
# Run this once per day, towards the end of the day for keeping the most
# recent data point most meaningful (hours are interpreted in UTC).
- cron: "0 23 * * *"
workflow_dispatch: # Allow for running this manually.
permissions:
contents: none
jobs:
j1:
name: repostats-for-weave-gitops
runs-on: ubuntu-latest
strategy:
matrix:
statsRepo:
- weaveworks/weave-gitops
fail-fast: false
max-parallel: 1
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@306db38ad131cab2aa5f2cd3062bf6f8aa78c1aa # v1.4.2
with:
repository: ${{ matrix.statsRepo }}
ghtoken: ${{ secrets.WEAVE_GITOPS_BOT_ACCESS_TOKEN }}