Skip to content

Path filtering not building when files deleted #99

@amerodeh-jg

Description

@amerodeh-jg

Orb version:

1.0.0

What happened:

Hi all,
We started using the path filtering orb for one of our pipelines recently.

  - path-filtering/filter:
      name: check-updated-files
      mapping: |
        src/JG.Abc/.*    build-abc    true
        src/JG.Abc.Listener/.* build-abc-listener true
      base-revision: main
      config-path: .circleci/pipeline.yml

We have the above and it has been working fine but today we made a commit that removed 2 files.

src/JG.Abc/test.txt
src/JG.Abc.Listener/test.txt

And none of the pipelines ran when we pushed it. This feels like a bug?
More context:
A PR had 2 files (.txt) added by mistake. A commit deleted them. Following that commit, no pipeline ran. If our code relied on these 2 files being present and now they’re gone, the build would fail. This feels like a bug.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions