{"repo":"fchimpan/gh-slimify","free":true,"listed":false,"github":"https://github.com/fchimpan/gh-slimify","clone":"git clone https://github.com/fchimpan/gh-slimify.git","description":"🚀 Automatically detect and migrate GitHub Actions workflows to `ubuntu-slim` for cost-efficient CI","language":"Go","stars":108,"topics":["ci","cli","gh-extensions","github-actions","gh-extension"],"license":null,"category":"cli-tools","readme_excerpt":"gh-slimify [!WARNING] Migrating to ubuntu-slim may cause workflow instability or increased execution time. [!TIP] 💡 Wait, couldn't you just copy-paste the following prompt into AI agent and skip using this tool altogether? 🤔 bash # Get the database ID of the latest successful run id=$(gh run list \\ --repo ${owner}/${repo} \\ --workflow ${workflow file name} \\ --status success \\ --limit 1 \\ --json databaseId jq .'[0].databaseId') # List jobs from that run to inspect start/completion times gh api \\ repos/{owner}/{repo}/actions/runs/${id}/jobs jq '.jobs[] {name: .name, started at: .started at, completed at: .completed at}' Based on these rules, review each workflow and migrate every eligible job to ubuntu-slim. Afterward, report both the jobs that were successfully migrated and, for those that were not, the specific reasons they were ineligible. bash gh extension install fchimpan/gh-slimify bash $ gh slimify --help bash gh slimify .github/workflows/ci.yml bash gh slimify .github/workflows/ci.yml .github/workflows/test.yml bash gh slimify --all 📄 .github/workflows/lint.yml ✅ Safe to migrate (1 job(s)): • \"lint\" (L8) - Last execution time: 4m .github/workflows/lint.yml:8 ⚠️ Can migrate but requires attention (1 job(s)): • \"build\" (L15) ⚠️ Setup may be required (go), Last execution time: unknown .github/workflows/lint.yml:15 ❌ Cannot migrate (2 job(s)): • \"docker-build\" (L25) ❌ uses Docker commands .github/workflows/lint.yml:25 • \"test-with-db\" (L35) ❌ uses service containers .gi","default_branch":null,"files":null,"tree":[],"storefront":"/r/fchimpan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fchimpan/gh-slimify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}