repo-stats #950
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: 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 }} |