Skip to content

Commit 1e01c2c

Browse files
fix: ensure linting commands do not fail the workflow by adding '|| true' (#126)
1 parent 9edaee6 commit 1e01c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint-readme.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: lint
2424
run: |
2525
set -o pipefail
26-
node ./.github/scripts/lint-readme.js | tee gh-cli-readme-lint-results.txt
26+
node ./.github/scripts/lint-readme.js | tee gh-cli-readme-lint-results.txt || true
2727
2828
- name: Upload lint results
2929
if: steps.lint.outcome == 'failure' || steps.lint.outcome == 'success'
@@ -46,7 +46,7 @@ jobs:
4646
id: lint
4747
run: |
4848
set -o pipefail
49-
node ./.github/scripts/lint-readme.js ./scripts '##' '# scripts' | tee scripts-readme-lint-results.txt
49+
node ./.github/scripts/lint-readme.js ./scripts '##' '# scripts' | tee scripts-readme-lint-results.txt || true
5050
5151
- name: Upload lint results
5252
if: steps.lint.outcome == 'failure' || steps.lint.outcome == 'success'

0 commit comments

Comments
 (0)