Skip to content

Commit e6b6914

Browse files
changes
1 parent f0c376a commit e6b6914

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ indent_style = unset
3030
indent_size = unset
3131
generated_code = true
3232

33-
[/sdk/**]
33+
[*/sdk/**]
34+
generated_code = true
3435
charset = unset
3536
end_of_line = unset
3637
insert_final_newline = unset

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
act 0.2.64
2+
editorconfig-checker 3.3.0
23
gitleaks 8.24.0
34
jq 1.6
5+
markdownlint-cli2 0.18.1
46
nodejs 22.11.0
57
pnpm 10.4.1
68
pre-commit 3.6.0

scripts/config/vale/styles/config/vocabularies/words/accept.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ bot
44
Cognito
55
Cyber
66
Dependabot
7+
devcontainer
78
draw.io
89
drawio
910
endcapture
@@ -18,10 +19,12 @@ OAuth
1819
Octokit
1920
onboarding
2021
Podman
22+
pre
2123
Python
2224
rawContent
2325
sed
2426
Syft
2527
Terraform
2628
toolchain
2729
Trufflehog
30+
vNext

scripts/githooks/check-english-usage.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -euo pipefail
2525
# ==============================================================================
2626

2727
function main() {
28-
28+
echo "IN IT"
2929
cd "$(git rev-parse --show-toplevel)"
3030

3131
check=${check:-working-tree-changes}
@@ -58,7 +58,7 @@ function main() {
5858
# Arguments (provided as environment variables):
5959
# filter=[git command to filter the files to check]
6060
function run-vale-natively() {
61-
61+
echo "RUNNING NATIVE"
6262
# shellcheck disable=SC2046
6363
vale \
6464
--config "$PWD/scripts/config/vale/vale.ini" \
@@ -69,23 +69,30 @@ function run-vale-natively() {
6969
# Arguments (provided as environment variables):
7070
# filter=[git command to filter the files to check]
7171
function run-vale-in-docker() {
72-
72+
echo "RUNNING DOCKER"
7373
# shellcheck disable=SC1091
7474
source ./scripts/docker/docker.lib.sh
7575

7676
# shellcheck disable=SC2155
7777
local image=$(name=jdkato/vale docker-get-image-version-and-pull)
78+
79+
echo "Image is: $image"
80+
echo "Filter is: $filter"
7881
# We use /dev/null here to stop `vale` from complaining that it's
7982
# not been called correctly if the $filter happens to return an
8083
# empty list. As long as there's a filename, even if it's one that
8184
# will be ignored, `vale` is happy.
8285
# shellcheck disable=SC2046,SC2086
86+
87+
set -x
8388
docker run --rm --platform linux/amd64 \
8489
--volume "$PWD:/workdir" \
8590
--workdir /workdir \
8691
"$image" \
8792
--config /workdir/scripts/config/vale/vale.ini \
8893
$($filter) /dev/null
94+
95+
set +x
8996
}
9097

9198
# ==============================================================================

0 commit comments

Comments
 (0)