Skip to content

Commit

Permalink
Test ignore unmodified file in the project dir
Browse files Browse the repository at this point in the history
Revert "Test ignore unmodified file in the project dir"

This reverts commit 26eb6f3.

Ignore the project dir entirely

Add find_exclude_regex

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix

Fix
  • Loading branch information
thenets committed Mar 3, 2022
1 parent cc8b3dc commit 7f08be1
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 7f08be1

Please sign in to comment.