Skip to content

Commit aaf1b75

Browse files
Remove claude action and cleanup (#99)
This pull request focuses on updating and streamlining the project's dependency management and CI workflows. Major changes include simplifying Dependabot configuration for both backend and frontend dependencies, and removing the GitHub Actions workflows related to Claude code review and comment-triggered automation. Additionally, the Dockerfile is updated to use a lighter base image and ensure compatibility with native modules. **Dependabot configuration improvements:** * Combined backend dependency updates into a single `backend-all` group matching all patterns and update types (major, minor, patch) in `.github/dependabot.yml`. * Simplified frontend dependency groups by replacing specific patterns with wildcard `"*"` for both minor/patch (`frontend-minor-patch`) and major (`frontend-major`) updates, consolidating previously separate groups for Next.js, React, and ESLint. **CI workflow removals:** * Deleted the `claude-code-review.yml` workflow, removing automated code review jobs using Claude for pull requests. * Removed the `claude.yml` workflow, which previously enabled Claude-triggered automation via comments and reviews. **Dockerfile optimization:** * Switched the frontend build stage base image from `node:24-bookworm` to the lighter `node:24-alpine`, and added `libc6-compat` to support native modules on Alpine Linux.chore(deps): update dependabot configuration for backend and frontend groups
1 parent 3510780 commit aaf1b75

5 files changed

Lines changed: 30 additions & 155 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ updates:
99
commit-message:
1010
prefix: "chore(gomod)"
1111
include: "scope"
12+
groups:
13+
backend-all:
14+
patterns:
15+
- "*"
16+
update-types:
17+
- major
18+
- minor
19+
- patch
1220

1321
# npm (frontend - Next.js app)
1422
- package-ecosystem: "npm"
@@ -20,21 +28,17 @@ updates:
2028
prefix: "chore(npm)"
2129
include: "scope"
2230
groups:
23-
nextjs-minor-patch:
31+
frontend-minor-patch:
2432
patterns:
25-
- "next"
26-
- "react"
27-
- "react-dom"
33+
- "*"
2834
update-types:
2935
- minor
3036
- patch
31-
eslint-minor-patch:
37+
frontend-major:
3238
patterns:
33-
- "eslint*"
34-
- "@typescript-eslint/*"
39+
- "*"
3540
update-types:
36-
- minor
37-
- patch
41+
- major
3842

3943
# GitHub Actions (CI)
4044
- package-ecosystem: "github-actions"

.github/workflows/claude-code-review.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

.github/workflows/claude.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Stage 1: Build Next.js frontend
2-
FROM node:24-bookworm AS frontend-builder
2+
FROM node:24-alpine AS frontend-builder
33

44
WORKDIR /app/web
55

6+
# Install minimal runtime libs for native modules on musl
7+
RUN apk add --no-cache libc6-compat
8+
69
# Copy package files
710
COPY web/package*.json ./
811

Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,18 @@ test: ## Run tests (supports FILE= for specific files)
305305
else \
306306
go test -v -race ./...; \
307307
fi; \
308-
cd web && ( [ -d node_modules ] || npm install ) && npm test; \
308+
cd web && ( [ -d node_modules ] || npm install ) && npm test; \
309309
fi
310310

311-
.PHONY: help signal backend frontend all docker prod status stop clean logs logs-signal dev-setup install-sqlcipher dev-key dev-setup-encrypted prod-key test-backend test-frontend build-encrypted build-frontend build lint test
311+
release-tag: ## Create annotated release tag on main (VERSION=0.1.5)
312+
@if [ -z "$(VERSION)" ]; then \
313+
echo "$(RED)Missing VERSION. Usage: make release-tag VERSION=0.1.5$(NC)"; \
314+
exit 1; \
315+
fi
316+
@echo "$(YELLOW)Creating release tag v$(VERSION) on main...$(NC)"
317+
git switch main
318+
git pull --ff-only origin main
319+
git tag -a "v$(VERSION)" -m "Release v$(VERSION)"
320+
git push origin "v$(VERSION)"
321+
322+
.PHONY: help signal backend frontend all docker prod status stop clean logs logs-signal dev-setup install-sqlcipher dev-key dev-setup-encrypted prod-key test-backend test-frontend build-encrypted build-frontend build lint test release-tag

0 commit comments

Comments
 (0)