This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git
The following commit(s) were added to refs/heads/main by this push:
new 6f27dc92 MINOR: Add check-shebang-scripts-are-executable (#670)
6f27dc92 is described below
commit 6f27dc92b1216f84747faf95c8d2cc2ab140c3f5
Author: David Li <[email protected]>
AuthorDate: Mon Mar 10 04:01:12 2025 -0400
MINOR: Add check-shebang-scripts-are-executable (#670)
## What's Changed
Make sure that new scripts committed are actually executable, because I
always forget.
---
.github/workflows/dev_pr_milestone.sh | 0
.pre-commit-config.yaml | 1 +
2 files changed, 1 insertion(+)
diff --git a/.github/workflows/dev_pr_milestone.sh
b/.github/workflows/dev_pr_milestone.sh
old mode 100644
new mode 100755
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ca3cacec..8e8faf3c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,6 +25,7 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
+ - id: check-shebang-scripts-are-executable
- id: check-yaml
- id: check-added-large-files
- id: file-contents-sorter