Skip to content

Respect gitignore (optional, off by default) #2770

@guettli

Description

@guettli

Description

I would like to execute something, when a file which is tracked in git has changed:

foo:
  sources:
    - '**/*'
    - use-gitignore: true

This does not exist yet:

  • use-gitignore: true

Would you accept a PR which implements this?

If "no", would you accept a PR which implements something similar?

Related:

BTW, I found a work-around which I explain here: skip this task unless files in this path changed since the last successful run

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: fingerprintingChanges related to checksums and caching.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions