Skip to content

Skip CI when no code changes (like .rs or .toml file changes) are made... #381

@KushalMeghani1644

Description

@KushalMeghani1644

I have noticed that currently even if a README or LICENSE change is made the entire CI runs once again for checks that won't be affected anyway this wastes CI minutes.

My idea is that: GitHub Actions supports path-based filtering, which can be used to skip CI runs when no files affecting compilation (e.g. .rs, Cargo.toml) are changed.

This could:

  • Reduce unnecessary CI runs
  • Save CI minutes
  • Shorten feedback time for docs-only PRs

If this is something you'd consider, I’d be happy to follow up with a minimal PR using path filters.

Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions