GitHub Actions ran every job on every push, even when a commit only changed docs or data the job doesn't read, and used up the month's included minutes in two days. Skip each job when its input files are the same as in a run that passed, still reporting success for required checks, in a Rust and Python repo with no package.json.
“GitHub Actions CI runs every job on every push to main, even when a commit only changes docs or data the job doesn't read. I want each job skipped when its input files haven't changed since a run that passed, while still reporting success for required checks. Rust and Python monorepo, no package.json.” also “skip CI jobs whose inputs haven't changed since the last successful run”, “build cache or task runner with remote cache that skips unchanged tasks in CI”, “GitHub Actions burning through included minutes on docs-only commits”
Related, not an answer: skips tasks whose inputs are cached, but is a JavaScript workspace tool (package.json, Node), which this repo doesn't haveNx
In the latest eval run (24 Nov 2026), this search shows 3 results: 1 fits and 2 are related but not answers.
Related, not an answer: skips tasks whose inputs are cached, but is a JavaScript workspace tool (package.json, Node), which this repo doesn't haveNx
Related, not an answer: runs a job only when matching files changed against a base (the PR's base or the previous commit), not since the last run that passeddorny/paths-filter
“Skip a GitHub Actions job when the files it depends on are the same as in an earlier run that passed, so docs-only pushes don't spend runner minutes, without adding a new build system to the repo” also “GitHub Action that skips duplicate workflow runs for the same file contents”, “paths filter for GitHub Actions jobs”, “remote cache for CI task results keyed by input hash”
A small script hashes each job's input files from git (the workflow file and the script itself always among them), and
a first job looks the hashes up in the GitHub Actions cache with
actions/cache's restore (lookup-only) and save. A job that passed saves a marker
under its hash; the next run with the same hash skips that job, and a skipped job still counts as passed. The release
binary is cached the same way, so a data-only commit builds a new image without compiling the server again. Caches
made on main serve every branch, and a branch's own caches never reach main.
We looked at Turborepo with Vercel's free remote cache first. It caches task results by input hash, which is what we
wanted, but it's built for JavaScript workspaces: it would need a package.json, Node on every runner and a Vercel token,
and each job would still start its runner and service containers before Turborepo could tell it to stop. Nx has the
same fit. fkirc/skip-duplicate-actions judges a whole run rather than
each job, and dorny/paths-filter compares with a base commit, not with the last
run that passed.
The first search returned only Nx, and the second, which ruled out build systems, returned nothing (low confidence):
Talira didn't list any GitHub Actions for this. We added all three, and a golden eval case expects them for this
question.
How we grade the results
Each search shows what Talira returned at the time, wrong results included, and we grade every result:
Fits the search
Related, not an answer
Shouldn't have been shown
Every search here is also a case in our search evals. The clearly wrong results get a rule that they must never be shown for that search, and we tune search against those cases. Under each search is how it does in the latest eval run, so you can watch the same searches improve.