#github-actions #glob #pattern-matching #filter

bin+lib compare-changes

Reimplementation of GitHub file paths pattern matcher

90 releases (8 breaking)

Uses new Rust 2024

new 0.9.0 May 3, 2026
0.8.13 Apr 30, 2026
0.7.37 Mar 28, 2026
0.7.13 Dec 30, 2025
0.6.2 Nov 30, 2025

#1379 in Parser implementations

Download history 9/week @ 2026-02-05 911/week @ 2026-04-02 528/week @ 2026-04-09 269/week @ 2026-04-16 242/week @ 2026-04-23 150/week @ 2026-04-30

1,235 downloads per month
Used in action-validator

MIT license

41KB
831 lines

compare-changes

Build

compare-changes is a CLI and a library:

  1. The CLI can be used together with find-changes-action to run GitHub Actions jobs or steps conditionally, while benefitting from static validation for the defined paths via action-validator [it even uses this library since v0.9.0, so results should be 1:1!]. For more information, view the action on GitHub Actions Marketplace.
  2. The library reimplements the GitHub Actions Workflow syntax so other Rust projects may check whether paths in a given workflow file match a given set of files.

More information

For information on alternative installation methods and on how to contribute, please refer to the GitHub README.md

Dependencies

~4–11MB
~215K SLoC