# fkirc/skip-duplicate-actions

> Save time and cost when using GitHub Actions

Source: https://talira.ai/catalog/fkirc-skip-duplicate-actions-8atjz9n3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / ci / change detection](https://talira.ai/categories/developer-tools/ci/change-detection)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]

skip-duplicate-actions is a [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md) action, usually run in a small pre-job, whose `should_skip` output lets later jobs or steps skip work that has already been done. Through [GitHub](https://talira.ai/catalog/github-ppcgj756.md)'s Workflow Runs API it compares the current run with earlier runs of the same workflow: when one with the same tree hash (exactly the same files) already succeeded, as after a clean merge of a branch that passed, it skips. Its `paths_ignore` and `paths` options walk back through the commit history to the last commit with a successful run, and skip when everything changed since then is ignored or outside the paths, which works with required checks where GitHub's own path filters don't. It can also skip or cancel runs of the same workflow that are in progress or outdated, and `paths_filter` gives different jobs in one workflow their own named path rules (see also [dorny/paths-filter](https://talira.ai/catalog/dorny-paths-filter-6e7hgcdd.md), which compares against a base instead). Manual, scheduled and merge queue runs are never skipped by default.

## Links

- GitHub: https://github.com/fkirc/skip-duplicate-actions

## Problems it solves

- don't rerun CI for a commit whose files are identical to one that already passed
- CI runs everything again after I merge a branch that already passed on the same code
- skip the slow tests for README and docs-only commits but keep them as a required check
- GitHub's paths-ignore leaves my required status check pending forever so the PR can't merge
- whether CI skips a path depends on whether I pushed the commits one at a time or together
- cancel the older workflow runs on a branch when I push a new commit
- a push and a pull_request trigger run the same workflow twice on the same commit
- my GitHub Actions minutes run out because every push runs every job, even docs-only commits
- skip a folder's tests unless something in that folder changed since the last green run
- show which earlier run already checked these exact files when a run is skipped

## Features

- skips a run when a successful run of the same workflow has the same tree hash
- paths_ignore and paths backtrack to the last commit with a successful run
- paths_filter: named path rules per job, with a paths_result output
- concurrent_skipping: never, same_content, same_content_newer, outdated_runs or always
- cancel_others cancels runs for outdated commits
- do_not_skip names triggers never skipped (workflow_dispatch, schedule and merge_group by default)
- skipped_by and changed_files outputs name the matching run and what changed
- backtracking limit per filter
- works with fast-forward, rebase and squash merges

## Limitations

- Doesn't track jobs one by one: it skips when an earlier run of the same whole workflow succeeded on the same files, found through GitHub's Workflow Runs API[^1]

## Trust

Overall: 0.15 out of 1.
Signals: backing 0.00, extensibility 0.00.

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md)

## Alternatives

- [dorny/paths-filter](https://talira.ai/catalog/dorny-paths-filter-6e7hgcdd.md): Conditionally run actions based on files modified by PR, feature branch or pushed commits

## Sources

[^1]: https://github.com/fkirc/skip-duplicate-actions (checked 20 Nov 2026)
[^2]: https://github.com/fkirc/skip-duplicate-actions/blob/master/LICENSE (checked 20 Nov 2026)
