Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEDONA-542] Add pre-commit hook check-executables-have-shebangs #1362

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

jbampton
Copy link
Member

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-executables-have-shebangs

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Added another check or test to our pre-commit framework.

https://en.wikipedia.org/wiki/Shebang_(Unix)

How was this patch tested?

When this test was added it found a number of files which failed the test.

For one shell script I have added the shebang.

For the rest of the files I used chmod -x on them.

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

@jiayuasu jiayuasu merged commit ce62a85 into apache:master Apr 25, 2024
53 checks passed
@jbampton jbampton deleted the check-executables-have-shebangs branch April 25, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants