From e6300fa79c7cf8e6447055af1e0dfaf58063fd82 Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Fri, 26 Jun 2026 06:24:31 +0530 Subject: [PATCH 1/2] ci: add CODEOWNERS, dependabot.yml, and SHA-pinned actions --- .github/CODEOWNERS | 20 ++++++++++++++++++++ .github/dependabot.yml | 16 ++++++++++++++++ .github/workflows/ci.yml | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/dependabot.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f813977 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,20 @@ +# CODEOWNERS for sight (code-review engine) +* @GrayCodeAI/maintainers + +# Engine core +/internal/ @GrayCodeAI/core-team +/rules/ @GrayCodeAI/core-team + +# API surface +/api/ @GrayCodeAI/core-team +/mcp/ @GrayCodeAI/core-team + +# CI / release / build tooling +/.github/ @GrayCodeAI/devops-team +/Makefile @GrayCodeAI/devops-team +/lefthook.yml @GrayCodeAI/devops-team +/scripts/ @GrayCodeAI/devops-team + +# Documentation +*.md @GrayCodeAI/docs-team +/docs/ @GrayCodeAI/docs-team diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1b614bb --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: + - package-ecosystem: gomod + directory: / + schedule: + interval: weekly + groups: + go-deps: + patterns: ["*"] + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + groups: + actions: + patterns: ["*"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33f9686..56569da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: exit 1 fi - name: Test - run: go test ./... -race -count=1 -coverprofile=coverage.out -covermode=atomic -timeout=180s + run: go test ./... -race -count=1 -shuffle=on -coverprofile=coverage.out -covermode=atomic -timeout=180s - name: Coverage summary run: go tool cover -func=coverage.out | tail -1 - name: Coverage threshold From 9d39c716c0b8a9fd39f14eea7bb0d10b2c34d418 Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Fri, 26 Jun 2026 06:35:14 +0530 Subject: [PATCH 2/2] chore: remove dependabot.yml --- .github/dependabot.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 1b614bb..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: 2 -updates: - - package-ecosystem: gomod - directory: / - schedule: - interval: weekly - groups: - go-deps: - patterns: ["*"] - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - groups: - actions: - patterns: ["*"]