Goal
Add lightweight GitHub Actions to each watched biocommons repo that fire a repository_dispatch event to github-stats on relevant activity, enabling near-real-time updates without waiting for the hourly schedule.
Trigger events (per watched repo)
issues (opened, closed, reopened)
pull_request (opened, closed, merged)
push to default branch
Implementation
Each watched repo gets a small workflow (~15 lines) calling the github-stats dispatch endpoint. Can be implemented as a reusable workflow in biocommons/.github that each repo calls.
Watched repos
anyvar, bioutils, eutils, hgvs, seqrepo, seqrepo-rest-service, uta
Acceptance criteria
- Closing an issue in
hgvs triggers a collection run in github-stats within 2 minutes
- Burst activity (5+ events quickly) results in one collection run via concurrency cancel-in-progress
Notes
Depends on: biocommons/github-stats#2
Goal
Add lightweight GitHub Actions to each watched biocommons repo that fire a
repository_dispatchevent togithub-statson relevant activity, enabling near-real-time updates without waiting for the hourly schedule.Trigger events (per watched repo)
issues(opened, closed, reopened)pull_request(opened, closed, merged)pushto default branchImplementation
Each watched repo gets a small workflow (~15 lines) calling the
github-statsdispatch endpoint. Can be implemented as a reusable workflow inbiocommons/.githubthat each repo calls.Watched repos
anyvar, bioutils, eutils, hgvs, seqrepo, seqrepo-rest-service, uta
Acceptance criteria
hgvstriggers a collection run ingithub-statswithin 2 minutesNotes
Depends on: biocommons/github-stats#2