Commit graph

16 commits

Author SHA1 Message Date
Claude Code
1517ab7bee Refine security check to reduce false positives
- Exclude test files from admin password detection
- Ignore obvious fallback passwords (admin123, test_*)
- Require minimum 8 character passwords to avoid catching trivial examples
- Focus on detecting actual production secrets rather than development/test values

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 20:23:18 -04:00
6f5c32d2cd Delete .forgejo/workflows/test.yml 2025-07-08 03:18:25 +03:00
Claude Code
6c2be648c0 Fix dependency review workflow for missing build tools
- Install devDependencies (including sass) with --include=dev flag
- Add proper error handling for missing main branch files
- Skip bundle size analysis if no frontend changes detected
- Improve git diff logic for changed files detection

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 20:17:34 -04:00
Claude Code
c50a07c870 Fix PR labeler for branches without merge base
Add fallback logic when git diff fails due to no merge base between branches. This handles cases where the branch history has diverged significantly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 20:07:02 -04:00
Claude Code
1bd561cc83 Improve security check to avoid false positives
Updated secret detection to look for actual hardcoded tokens (pk./sk. patterns) rather than environment variable references. This prevents false positives when using process.env.MAPBOX_ACCESS_TOKEN correctly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 20:06:10 -04:00
Claude Code
ab5cddeec5 Add workflow concurrency controls to cancel in-progress runs
Prevents multiple workflow runs from the same PR/branch from running simultaneously, saving runner resources and providing faster feedback.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 20:00:59 -04:00
Claude Code
7cea33f56d Fix large file detection for BusyBox find
Replace -size +1M with du-based approach since BusyBox find doesn't support size suffixes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 19:59:43 -04:00
Claude Code
d36a46bae8 Fix grep commands for BusyBox compatibility
Replace GNU grep --include/--exclude-dir options with find + xargs pattern for BusyBox grep compatibility on self-hosted runners.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 19:58:45 -04:00
Claude Code
136ef29bd2 Use system Node.js instead of downloading in workflows
Replace actions/setup-node with simple version checks to avoid "Text file busy" errors on self-hosted runners. This assumes Node.js is already installed on the runner.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 19:56:39 -04:00
Claude Code
56b2211cb0 Update CI/CD workflows to use self-hosted runners
Changed all workflow files from ubuntu-latest to self-hosted runners to match deployment environment requirements.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 19:53:19 -04:00
Claude Code
b913475932 Add comprehensive CI/CD workflows for Forgejo Actions
- ci.yml: Complete CI pipeline with lint, type-check, tests, build, security, and i18n validation
- code-quality.yml: Advanced code analysis including complexity, TODO tracking, and import analysis
- dependency-review.yml: Automated dependency update review with security checks
- pr-labeler.yml: Intelligent PR labeling based on files and content
- release.yml: Automated release process with changelog generation
- Documentation and best practices guide

Features:
- Multi-node testing (Node 18, 20)
- Security scanning for hardcoded secrets
- Bundle size impact analysis
- Translation key validation
- Complexity analysis and code quality metrics

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 19:50:57 -04:00
Claude Code
429a5d4afc Update workflow to inject S3 bucket name into deployment script
- Workflow now updates deploy.sh with the actual S3 bucket name before uploading
- Add S3_BUCKET_NAME=none override option to README for local-only deployment
- Update README to show both ARM64 and x86_64 support

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 18:14:04 -04:00
eaadf6e4b8 Update .forgejo/workflows/deploy-scripts.yml 2025-07-06 23:45:30 +03:00
Claude Code
08b1d37982 Switch from OIDC to access key authentication in deploy-scripts workflow
- Remove id-token write permission
- Replace role-to-assume with aws-access-key-id and aws-secret-access-key
- Remove role-session-name parameter

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 16:38:47 -04:00
d7dee6f8b4 Add .forgejo/workflows/deploy-scripts.yml 2025-07-06 23:26:00 +03:00
5dba9a5f6c Add .forgejo/workflows/test.yml 2025-07-06 22:53:55 +03:00