From b72ff262dbf4012ba27c46a331dc0a5a4560b121 Mon Sep 17 00:00:00 2001 From: Michael Welles Date: Mon, 19 Jan 2026 16:53:46 -0500 Subject: [PATCH 1/2] fix: add shellcheck disable for subshell warning in local-test.sh --- scripts/local-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/local-test.sh b/scripts/local-test.sh index 2dc0e69a..358f89a4 100755 --- a/scripts/local-test.sh +++ b/scripts/local-test.sh @@ -27,8 +27,8 @@ function restartCluster() { DockerCompose up --detach --force-recreate # shellcheck disable=SC2312 alphaHttpPort=$(DockerCompose port alpha1 8080 | awk -F: '{print $2}') + # shellcheck disable=SC2312 alphaGrpcPort=$(DockerCompose port alpha1 9080 | awk -F: '{print $2}') - # Wait for HTTP health endpoint wait-for-healthy 127.0.0.1:"${alphaHttpPort}"/health } From a290843bac09fd9c9dd78d46d3f64171bfb087d9 Mon Sep 17 00:00:00 2001 From: Michael Welles Date: Mon, 19 Jan 2026 16:53:52 -0500 Subject: [PATCH 2/2] ci: skip no-commit-to-branch hook in CD workflow The no-commit-to-branch pre-commit hook fails when checking out release tags that point to main. Use SKIP env var to bypass this specific hook while keeping all other quality checks. --- .github/workflows/cd-pydgraph.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd-pydgraph.yml b/.github/workflows/cd-pydgraph.yml index da7a90ca..6cf1cae5 100644 --- a/.github/workflows/cd-pydgraph.yml +++ b/.github/workflows/cd-pydgraph.yml @@ -29,7 +29,7 @@ jobs: make protogen git diff --exit-code -- . - name: Check code quality - run: make check + run: SKIP=no-commit-to-branch make check - name: Run tests run: make test - name: Set version