Skip to content

Commit

Permalink
Add error to try action
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Jan 16, 2024
1 parent 0a715f1 commit 6355029
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
set -o pipefail
pre-commit gc
pre-commit run --show-diff-on-failure --color=always --all-files | tee ${RAW_LOG}
- name: Convert Raw Log to CheckStyle format
- name: Convert Raw Log to CheckStyle format (launch script)
if: ${{ failure() }}
run: |
python ${LOG_TO_CS} ${RAW_LOG} ${CS_XML}
Expand Down
4 changes: 4 additions & 0 deletions logToCs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
Note: this script is very young and "quick and dirty".
Patterns can be added to "PATTERNS" to match more messages.
master
dmmy
xwindows

Check failure on line 15 in logToCs.py

View workflow job for this annotation

GitHub Actions / pre-commit

logToCs.py: xwindows ==> x
# Examples
Assumes that logToCs.py is available as .github/logToCs.py.
Expand Down

0 comments on commit 6355029

Please sign in to comment.