This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f9495eab06 GH-50820: [CI][Dev] Bump ShellCheck to v0.11.0 and 
simplify pre-commit file patterns for the ci directory (#50821)
5f9495eab06 is described below

commit 5f9495eab06ffa3b94866380f4012c62ddf8b5ed
Author: Hiroyuki Sato <[email protected]>
AuthorDate: Thu Aug 6 19:37:03 2026 +0900

    GH-50820: [CI][Dev] Bump ShellCheck to v0.11.0 and simplify pre-commit file 
patterns for the ci directory (#50821)
    
    ### Rationale for this change
    
    This is the sub issue #44748.
    
    * Now that all `ci/*.sh` files pass ShellCheck, simplify the pre-commit 
file pattern.
    * Bump ShellCheck to v0.11.0
    
    ### What changes are included in this PR?
    
    * Simplify pre-commit file patterns for the `ci` directory
    * Bump ShellCheck to v0.11.0
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #50820
    
    Authored-by: Hiroyuki Sato <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 .pre-commit-config.yaml | 65 ++-----------------------------------------------
 1 file changed, 2 insertions(+), 63 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8adc2275e5b..a603390c82b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -284,7 +284,7 @@ repos:
           'dangling-hyphen,line-too-long',
         ]
   - repo: https://github.com/koalaman/shellcheck-precommit
-    rev: v0.10.0
+    rev: v0.11.0
     hooks:
       - id: shellcheck
         alias: shell
@@ -292,68 +292,7 @@ repos:
         files: >-
           (
           ?^c_glib/test/run-test\.sh$|
-          ?^ci/scripts/c_glib_build\.sh$|
-          ?^ci/scripts/c_glib_test\.sh$|
-          ?^ci/scripts/ccache_fix_perms\.sh$|
-          ?^ci/scripts/ccache_setup\.sh$|
-          ?^ci/scripts/cpp_build\.sh$|
-          ?^ci/scripts/cpp_test\.sh$|
-          ?^ci/scripts/download_tz_database\.sh$|
-          ?^ci/scripts/install_azurite\.sh$|
-          ?^ci/scripts/install_bison\.sh$|
-          ?^ci/scripts/install_ccache\.sh$|
-          ?^ci/scripts/install_chromedriver\.sh$|
-          ?^ci/scripts/install_cmake\.sh$|
-          ?^ci/scripts/install_conda\.sh$|
-          ?^ci/scripts/install_dask\.sh$|
-          ?^ci/scripts/install_emscripten\.sh$|
-          ?^ci/scripts/install_gcs_testbench\.sh$|
-          ?^ci/scripts/install_iwyu\.sh$|
-          ?^ci/scripts/install_minio\.sh$|
-          ?^ci/scripts/install_ninja\.sh$|
-          ?^ci/scripts/install_numba\.sh$|
-          ?^ci/scripts/install_numpy\.sh$|
-          ?^ci/scripts/install_pandas\.sh$|
-          ?^ci/scripts/install_python\.sh$|
-          ?^ci/scripts/install_sccache\.sh$|
-          ?^ci/scripts/install_spark\.sh$|
-          ?^ci/scripts/install_vcpkg\.sh$|
-          ?^ci/scripts/integration_arrow_build\.sh$|
-          ?^ci/scripts/integration_arrow\.sh$|
-          ?^ci/scripts/integration_dask\.sh$|
-          ?^ci/scripts/integration_hdfs\.sh$|
-          ?^ci/scripts/integration_spark\.sh$|
-          ?^ci/scripts/matlab_build\.sh$|
-          ?^ci/scripts/msys2_setup\.sh$|
-          ?^ci/scripts/msys2_system_clean\.sh$|
-          ?^ci/scripts/msys2_system_upgrade\.sh$|
-          ?^ci/scripts/nanoarrow_build\.sh$|
-          ?^ci/scripts/python_build_emscripten\.sh$|
-          ?^ci/scripts/python_build\.sh$|
-          ?^ci/scripts/python_sdist_build\.sh$|
-          ?^ci/scripts/python_sdist_test\.sh$|
-          ?^ci/scripts/python_test_emscripten\.sh$|
-          ?^ci/scripts/python_wheel_unix_test\.sh$|
-          ?^ci/scripts/python_test_type_annotations\.sh$|
-          ?^ci/scripts/python_test\.sh$|
-          ?^ci/scripts/python_wheel_macos_build\.sh$|
-          ?^ci/scripts/python_wheel_xlinux_build\.sh$|
-          ?^ci/scripts/r_build\.sh$|
-          ?^ci/scripts/r_deps\.sh$|
-          ?^ci/scripts/r_docker_configure\.sh$|
-          ?^ci/scripts/r_install_system_dependencies\.sh$|
-          ?^ci/scripts/r_revdepcheck\.sh$|
-          ?^ci/scripts/r_sanitize\.sh$|
-          ?^ci/scripts/r_test\.sh$|
-          ?^ci/scripts/r_valgrind\.sh$|
-          ?^ci/scripts/r_windows_build\.sh$|
-          ?^ci/scripts/release_test\.sh$|
-          ?^ci/scripts/ruby_test\.sh$|
-          ?^ci/scripts/rust_build\.sh$|
-          ?^ci/scripts/util_download_apache\.sh$|
-          ?^ci/scripts/util_enable_core_dumps\.sh$|
-          ?^ci/scripts/util_free_space\.sh$|
-          ?^ci/scripts/util_log\.sh$|
+          ?^ci/.*\.sh$|
           ?^cpp/build-support/build-lz4-lib\.sh$|
           ?^cpp/build-support/build-zstd-lib\.sh$|
           ?^cpp/build-support/get-upstream-commit\.sh$|

Reply via email to