Skip to content

Commit 056f77a

Browse files
committed
fix: ensure file paths are provided with expected separator
1 parent 56ca94f commit 056f77a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/lint_changed_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
files=$(echo "$files" | tr '\n' ' ' | sed 's/ $//')
105105
echo "files=${files}" >> $GITHUB_OUTPUT
106106
107-
# Lint file names
107+
# Lint file names:
108108
- name: 'Lint file names'
109109
run: |
110110
# Determine root directory:

.github/workflows/lint_random_files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
184184
echo "files=$files" >> $GITHUB_OUTPUT
185185
186-
# Lint file names
186+
# Lint file names:
187187
- name: 'Lint file names'
188188
run: |
189189
# Determine root directory:
@@ -197,9 +197,9 @@ jobs:
197197
198198
# Lint files against EditorConfig:
199199
- name: 'Lint against EditorConfig'
200-
if: success() || failure()
201200
run: |
202-
make lint-editorconfig-files FILES="${{ steps.random-files.outputs.files }}"
201+
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' ' ')
202+
make lint-editorconfig-files FILES="${files}"
203203
204204
# Lint Markdown files:
205205
- name: 'Lint Markdown files'

0 commit comments

Comments
 (0)