Show HN: A tool to safely migrate GitHub Actions workflows to Ubuntu-slim runner

Share This Post

Hi HN!

I’ve been running GitHub Actions workflows for a while, and when GitHub announced the new ubuntu-slim runners as a cheaper alternative to ubuntu-latest, I wanted to migrate—but figuring out which workflows are safe to switch turned out to be surprisingly tedious.

You need to check for Docker usage, services, containers, step failures due to missing packages, and whether jobs rely on tools not available in the slim image.

So I built gh-slimify, a GitHub CLI extension that automates all of this. It scans your repository, detects which jobs can be migrated, flags incompatible patterns, identifies missing commands, and can update only the safe workflows with a single command.

gh extension install fchimpan/gh-slimify
gh slimfy # Analyze workflows
gh slimfy fix # Update only jobs that are safe to migrate

It’s open source (MIT).
As a bonus: the README also includes an AI agent prompt that reproduces the same workflow-migration analysis—useful if you want to integrate the logic into an LLM agent or experiment with automated refactoring.

I’d love feedback—especially on edge cases, false positives/negatives, or patterns it should detect better.


Comments URL: https://news.ycombinator.com/item?id=45936564

Points: 1

# Comments: 0

Source: github.com

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Windows Securitym Hackers Feeds

Bayesian nonlinear asymptotic regression model

Article URL: https://world.hey.com/apetrov/bayesian-nonlinear-asymptotic-regression-model-a1a4bdca Comments URL: https://news.ycombinator.com/item?id=45937942 Points: 1 # Comments: 0 Source: world.hey.com

Do You Want To Boost Your Business?

drop us a line and keep in touch

We are here to help

One of our technicians will be with you shortly.