Skip to content

ci: detect bash scripts with shebang

Administrator requested to merge devx/fix-diff-shell-detection into main

Created by: jhchabran

Fixes #38754 (closed)

One could argue that all shell scripts should end in .sh but it's actually quite common in the wild to just use the shebang, so we'd better address that case for the sake of correctness.

Test plan

Ran the generator locally, with a commit including changes to /dev/zoekt/update which is a shell script, but without the extension.

Merge request reports

Loading