Skip to content

GitHub Repo Stats

GitHub Repo Stats #215

name: 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:
j1:
name: repostats-for-instill-core
runs-on: ubuntu-latest
steps:
- name: run-ghrs
uses: jgehrcke/[email protected]
with:
# Define the stats repository (the repo to fetch
# stats for and to generate the report for).
# Remove the parameter when the stats repository
# and the data repository are the same.
repository: instill-ai/instill-core
# Data branch: Branch to push data to (in the data repo).
databranch: main
# Set a GitHub API token that can read the GitHub
# repository traffic API for the stats repository,
# and that can push commits to the data repository
# (which this workflow file lives in, to store data
# and the report files).
ghtoken: ${{ secrets.botGitHubToken }}
ghpagesprefix: https://instill-ai.github.io/instill-core-stats