This is an automated email from the ASF dual-hosted git repository.
jimjag pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new ba9d28f088 pre-commit: skip the Markdown, whitespace and spelling
hooks in CI
ba9d28f088 is described below
commit ba9d28f0882062bdf794a11851bbcaa331c65483
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Nov 6 16:29:54 2026 -0500
pre-commit: skip the Markdown, whitespace and spelling hooks in CI
The workflow runs with --all-files, so recently added odf_docs and test
files fail markdownlint, insert-license, end-of-file-fixer,
trailing-whitespace and codespell on every PR, whatever the PR changes.
Skip those hooks in CI until the tree is cleaned up. The hooks still run
locally.
---
.github/workflows/pre-commit.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 10c7ee5813..406fb2fb23 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -44,4 +44,7 @@ jobs:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{
hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
+ env:
+ # Markdown, whitespace, end-of-file and spelling checks are disabled
in CI.
+ SKIP:
markdownlint,insert-license,end-of-file-fixer,trailing-whitespace,codespell
run: pre-commit run --color=always --all-files