Skip to content

github-repo-stats

github-repo-stats #792

name: github-repo-stats
concurrency: github-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.
jobs:
run-ghrs-with-matrix:
name: repostats-for-l3af
runs-on: ubuntu-latest
strategy:
matrix:
# The repositories to generate reports for.
statsRepo: [ 'l3af-project/l3afd', 'l3af-project/eBPF-Package-Repository' ]
# Do not cancel&fail all remaining jobs upon first job failure.
fail-fast: false
# Help avoid commit conflicts. Note(JP): this should not be
# necessary anymore, feedback appreciated
max-parallel: 1
steps:
- name: run-ghrs
# Use latest release.
uses: jgehrcke/github-repo-stats@f1749165dc32fb4cc2c2bea60f11a9e528d92313
with:
repository: ${{ matrix.statsRepo }}
ghtoken: ${{ secrets.ghrs_github_api_token }}