Skip to content

Commit

Permalink
Merge pull request #95 from DroidKaigi/takahirom/fix-regex/2024-07-05
Browse files Browse the repository at this point in the history
Fix mapfile
  • Loading branch information
takahirom authored Jul 6, 2024
2 parents d3f9855 + 26bb705 commit ddf67e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/screenshot-comparison-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
shell: bash
run: |
# Find all the files ending with _compare.png
mapfile -t files_to_add < <(find . -type f -name "*_compare.png")
mapfile -d '' -t files_to_add < <(find . -type f -name "*_compare.png" -print0)
# Check for invalid file names and add only valid ones
exist_valid_files="false"
Expand All @@ -79,7 +79,7 @@ jobs:
BRANCH_NAME: companion_${{ github.event.workflow_run.head_branch }}
run: |
# Find all the files ending with _compare.png
mapfile -t files_to_add < <(find . -type f -name "*_compare.png")
mapfile -d '' -t files_to_add < <(find . -type f -name "*_compare.png" -print0)
# Check for invalid file names and add only valid ones
for file in $files_to_add; do
Expand Down

0 comments on commit ddf67e3

Please sign in to comment.