fix: bug with files ignore yaml patterns not filtering the list of files (#2304)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2024-10-02 13:12:26 -06:00
committed by GitHub
parent 641e22af4a
commit d0cf1645b7
6 changed files with 29 additions and 2 deletions

View File

@@ -758,6 +758,24 @@ jobs:
shell:
bash
- name: Run changed-files with files_yaml, files_ignore_yaml
id: changed-files-ignore
uses: ./
with:
files_yaml: |
test:
- test/**.txt
- test/**.md
files_ignore_yaml: |
test:
- test/test.txt
- name: Show output
run: |
echo "${{ toJSON(steps.changed-files-ignore.outputs) }}"
shell:
bash
- name: Run changed-files with files_yaml, json and write_output_files
id: changed-files-json-write-output-files
uses: ./