Skip to content

Commit

Permalink
Merge pull request #286 from thenets/add-file_finder
Browse files Browse the repository at this point in the history
Update `file_finder.yml`: Test ignore unmodified file in the project dir
  • Loading branch information
thenets authored Mar 3, 2022
2 parents cc8b3dc + 7f08be1 commit 98b8dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion file_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
- name: Extract file content
set_fact:
file_content: "{{ file_content | default({}) | combine({ item.path: lookup('file', item.path) }) }}"
when: |
"../project" not in item.path
loop: "{{ files.files }}"
loop_control:
label: "{{ item.path }}"
when: "'/.git/' not in item.path"

- name: Set job stats
set_stats:
Expand Down

0 comments on commit 98b8dc2

Please sign in to comment.