Skip to content

Commit

Permalink
Pre-commit fixes & exclude test/approvals from checks
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Gołaś <[email protected]>
  • Loading branch information
philipandag committed Oct 15, 2024
1 parent d437714 commit a4f6282
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
test/config-ci
test/approve > CI_log.txt
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ repos:
- id: shellcheck
args: ["--severity=warning"]
exclude: "^src/.*$"
files: |
^test/approvals/
2 changes: 1 addition & 1 deletion test/approvals.bash
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ if diff --help | grep -- --color >/dev/null 2>&1; then
diff_cmd="diff --unified --color=always"
else
diff_cmd="diff --unified"
fi
fi

0 comments on commit a4f6282

Please sign in to comment.