You were charged $6. Let's figure out why and prevent it.
Go to: https://github.com/settings/billing/summary
Look for:
- "Actions minutes used" - See what ran
- "Workflow runs" - Click to see details
- Runner type - Linux (free) vs macOS/Windows (paid)
runs-on: macos-latest # ❌ COSTS $0.08/minute!- Cost: $0.08/minute ($80 per 1,000 minutes)
- $6 charge = ~75 minutes on macOS
- Solution: Use
ubuntu-latestinstead
runs-on: windows-latest # ❌ COSTS $0.008/minute- Cost: $0.008/minute ($8 per 1,000 minutes)
- $6 charge = ~750 minutes on Windows
- Solution: Use
ubuntu-latestinstead
- If your repo was private last month:
- 2,000 minutes free
- Then $0.008/minute
- $6 = using ~2,750 minutes total (750 paid)
- Check ALL your repositories
- You might have other projects with workflows running
- Large artifacts stored
- Check: Settings → Billing → Storage
jobs:
update-data:
runs-on: ubuntu-latest # ✅ FREE FOREVER on public reposThe workflows I just created use ubuntu-latest ✅
# Check your repo visibility
# Go to: https://github.com/avalidurl/sp100-financial-tracker/settings
# Should show: 🔓 PublicIf private → Make it public or be aware of 2,000 min/month limit
GitHub Settings → Billing → Spending limits
Set limit to: $0 (prevent ANY charges)
This will:
- Stop workflows if you hit limits
- Prevent surprise charges
- You can adjust later if needed
# Check what workflows exist
# Go to: https://github.com/avalidurl/sp100-financial-tracker/actions
# Look for:
- Any workflows using macOS/Windows
- Long-running workflows
- Workflows that run too frequently- Go to: https://github.com/avalidurl/sp100-financial-tracker/actions
- Click "Usage" tab
- See breakdown by workflow and runner type
- Go to: https://github.com/settings/billing/summary
- Click "View usage" under Actions
- Filter by date: Last month
- See detailed breakdown
- Settings → Billing → Usage
- Click "Download usage report"
- Open CSV file
- Look for:
- Workflow names
- Runner type (Ubuntu/macOS/Windows)
- Minutes used
- Cost
The two workflows I just created:
runs-on: ubuntu-latest # ✅ FREE
# Runs: Every Monday at 6 AM
# Duration: ~3-5 minutes
# Cost: $0runs-on: ubuntu-latest # ✅ FREE
# Runs: Weekdays at 10 PM
# Duration: ~1-2 minutes
# Cost: $0Both use Linux runners = $0 forever!
- ✅ Go to GitHub billing page and check what ran
- ✅ Set spending limit to $0 (prevent future charges)
- ✅ Verify repo is public
- Are there OTHER workflows in this repo we haven't seen?
- Do you have OTHER repositories with workflows?
- Was the repo private last month?
- ✅ My new workflows use
ubuntu-latest(FREE) - ✅ Set spending limit to $0
- ✅ Keep repo public
- ✅ Monitor usage monthly
| Workflow | Frequency | Minutes/run | Monthly Total | Cost |
|---|---|---|---|---|
| Financial Data | Weekly | 3-5 min | ~20 min | $0 |
| Market Caps | Daily (5x/week) | 1-2 min | ~40 min | $0 |
| TOTAL | ~60 min | $0 |
Because: ubuntu-latest on public repo = FREE ✅
Watch for:
- Email: "GitHub Actions spending limit reached"
- Workflows using
macos-latestorwindows-latest - Private repository (2,000 min limit)
- Long-running workflows (>30 minutes each)
Tell me:
- Can you check your GitHub billing and see what actually ran?
- Are there other workflows in your account?
- Was your repo private last month?
Then we can:
- Delete expensive workflows
- Set spending limits
- Ensure everything stays FREE going forward
# 1. Check if repo is public
git remote -v
# Then visit that URL and check for 🔓 Public badge
# 2. Check for hidden workflows
ls -la .github/workflows/
# 3. See what's in your repo
git log --oneline --since="1 month ago" | grep -i "workflow\|action"Let me know what you find! 🔍