Skip to content

shebang_has_executable

Every file starting with #! must have +x set. Catches scripts that got their +x bit stripped by git add --chmod=-x, a tar round-trip, or a cp across filesystems.

- id: scripts-wired
kind: shebang_has_executable
paths: "ci/**/*.sh"
level: warning