You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.
The text was updated successfully, but these errors were encountered:
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
|| true
logic to the commands to stop the errors from propagating to the output as they are not true errors. Also remove thecontinue-on-error
lines as they will no longer be relevant.The text was updated successfully, but these errors were encountered: