File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193
193
lint_filenames="${root}/lib/node_modules/@stdlib/_tools/lint/filenames/bin/cli"
194
194
195
195
# Lint filenames:
196
- echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' || "${lint_filenames}"
196
+ echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | "${lint_filenames}"
197
197
198
198
# Lint Markdown files:
199
199
- name : ' Lint Markdown files'
@@ -345,6 +345,7 @@ jobs:
345
345
346
346
# Lint C files:
347
347
- name : ' Lint C files'
348
+ id : lint-c
348
349
if : ( github.event.inputs.c != 'false' ) && ( success() || failure() )
349
350
run : |
350
351
# Determine root directory:
@@ -388,7 +389,7 @@ jobs:
388
389
389
390
# Create sub-issue for C linting failures:
390
391
- name : ' Create sub-issue for C lint failures'
391
- if : ( github.event.inputs.c != 'false' ) && failure() && contains(steps.*.outcome, 'failure') && contains(job. steps.*.name , 'Lint C files ')
392
+ if : ( github.event.inputs.c != 'false' ) && failure() && contains(steps.*.outcome, 'failure') && contains(steps.lint-c.outcome , 'failure ')
392
393
env :
393
394
GITHUB_TOKEN : ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
394
395
run : |
You can’t perform that action at this time.
0 commit comments