Commit 39e1997
committed
ci: Improve .git directory exclusion in bash linter
The `find` commands used to locate bash scripts in the CI workflow previously used `./.git/*` to exclude the Git repository directory. This pattern is less robust as it specifically targets a `.git` directory directly under the current working directory.
By changing the pattern to `*/.git/*`, the `find` command will now correctly exclude any `.git` directory found at any depth within the repository. This ensures that internal Git files, including those from submodules or other nested Git structures, are consistently ignored by the bash script linter.1 parent 70623c5 commit 39e1997
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments