You want to know which workflows consume the most minutes across the org. How?
BeginnerScenarioSpeed, Caching & Cost
Answer
Situation read → Billing visibility.
What I'd do →
- Org Settings, Billing: usage report CSV per repo and workflow, and the Actions usage metrics in org Insights.
- API:
gh api repos/ORG/REPO/actions/runs/RUN_ID/timingfor per-run billable ms by OS. - Rank by minutes times multiplier, then target the top 5 workflows.
Why → Cost work follows a power law; a few workflows dominate.
Interview tip → Mention measuring before and after each change.
More on Speed, Caching & Cost
`npm ci` takes 4 minutes on every run. Fix it.BeginnerDocker builds take 12 minutes even when only one line of code changed. Speed them up.IntermediateThe repo hits the 10 GB cache limit daily and hit rates are poor. What do you change?IntermediatemacOS jobs are 60% of your bill. What are your options?IntermediateA job sometimes hangs and burns 6 hours. How do you stop it happening again?BeginnerYour PR matrix is 3 OS times 4 versions (12 jobs). How do you cut cost without losing coverage?Advanced