These steps to remove blank lines/spaces show errors in the output even though we want to ignore the errors.
|
# this step will fail on whitespace errors but also correct them |
|
- name: "Remove Trailing Whitespace Via Pre-commit" |
|
continue-on-error: true |
|
run: | |
|
pre-commit run trailing-whitespace --files .bumpversion.cfg CHANGELOG.md .changes/* |
|
git status |
|
|
|
# this step will fail on newline errors but also correct them |
|
- name: "Removing Extra Newlines Via Pre-commit" |
|
continue-on-error: true |
|
run: | |
|
pre-commit run end-of-file-fixer --files .bumpversion.cfg CHANGELOG.md .changes/* |
|
git status |
Add || true logic to the commands to stop the errors from propagating to the output as they are not true errors. Also remove the continue-on-error lines as they will no longer be relevant.
These steps to remove blank lines/spaces show errors in the output even though we want to ignore the errors.
dbt-release/.github/workflows/release-prep.yml
Lines 387 to 399 in 8b85295
Add
|| truelogic to the commands to stop the errors from propagating to the output as they are not true errors. Also remove thecontinue-on-errorlines as they will no longer be relevant.