This directory contains GitHub-specific configuration files for the BayEngage Agent project.
- Triggers: Push to main/develop, Pull requests
- Jobs:
- Test: Runs tests on Node.js 18, 20, and 22
- Lint: TypeScript type checking
- Build: Compiles TypeScript and uploads artifacts
- Features:
- Multi-version testing matrix
- Code coverage upload to Codecov
- Artifact preservation
- Triggers: Pull request events
- Jobs:
- Validate PR: Checks PR title follows conventional commits
- Size Check: Reports build size in PR comments
- Test Coverage: Generates coverage reports
- Features:
- Semantic PR title validation
- TODO/FIXME detection
- Bundle size tracking
- Coverage reporting
- Triggers: Push, Pull requests, Weekly schedule
- Jobs:
- Dependency Review: Checks for vulnerable dependencies in PRs
- NPM Audit: Runs npm security audit
- CodeQL: GitHub's code scanning for vulnerabilities
- Secret Scan: Detects leaked secrets using TruffleHog
- Features:
- Automated vulnerability detection
- Secret leak prevention
- Security advisories
- Triggers: Push to main, Version tags
- Jobs:
- Deploy to Vercel: Automatic deployment
- Publish to NPM: Publishes on version tags
- Create Release: GitHub release creation
- Features:
- Automatic production deployments
- Version-based NPM publishing
- Release notes generation
- Triggers: Push to main
- Jobs:
- Uses Release Please for automated releases
- Creates changelogs
- Bumps versions
- Publishes to NPM
- Features:
- Conventional commit-based versioning
- Automated changelog
- NPM package publishing
- Triggers: Dependabot pull requests
- Jobs:
- Auto-merges patch and minor version updates
- Features:
- Safe automatic merging
- Version-aware approval
- Triggers: Daily schedule
- Jobs:
- Marks inactive issues/PRs as stale
- Auto-closes after inactivity period
- Features:
- Configurable stale periods
- Exempt labels support
- Location:
PULL_REQUEST_TEMPLATE.md - Features:
- Structured PR description
- Change type checklist
- Testing verification
- Review checklist
- Reproduction steps
- Environment details
- Error logs
- Expected vs actual behavior
- Problem statement
- Proposed solution
- Use cases
- Implementation suggestions
Defines code ownership for automatic review requests.
Current owners:
- Default:
@palani - Documentation:
@palani - GitHub Actions:
@palani - Source code:
@palani - Tests:
@palani
Configuration: dependabot.yml
Update Schedule:
- NPM: Weekly on Mondays at 9:00 AM
- GitHub Actions: Weekly on Mondays at 9:00 AM
Settings:
- Maximum 10 open PRs
- Auto-assigned to
@palani - Labeled as
dependenciesandautomated
Configure these in your GitHub repository settings:
VERCEL_TOKEN- Vercel deployment tokenVERCEL_ORG_ID- Vercel organization IDVERCEL_PROJECT_ID- Vercel project IDNPM_TOKEN- NPM publishing token
CODECOV_TOKEN- Codecov upload token (optional)
GITHUB_TOKEN- Automatically provided by GitHub Actions
# Create a PR with semantic title
git checkout -b feat/new-feature
git commit -m "feat: add new feature"
git push origin feat/new-feature
# Open PR - CI will run automatically# Commit with conventional commits
git commit -m "feat: add new tool"
git push origin main
# Release Please will create a PR
# Merge the PR to trigger releaseSome workflows support manual triggering via GitHub UI:
- Go to Actions tab
- Select workflow
- Click "Run workflow"
Add these to your main README.md:


Edit ci.yml:
strategy:
matrix:
node-version: [18.x, 20.x, 22.x] # Modify hereEdit stale.yml:
days-before-issue-stale: 60 # Days before marking stale
days-before-issue-close: 30 # Days before closingEdit dependabot.yml:
schedule:
interval: 'weekly' # Options: daily, weekly, monthly
day: 'monday'
time: '09:00'- Check workflow logs in Actions tab
- Verify all dependencies are installed
- Ensure tests pass locally:
npm test - Check TypeScript compilation:
npm run type-check
- Verify secrets are configured correctly
- Check Vercel/NPM token permissions
- Ensure build succeeds:
npm run build
- Check
dependabot.ymlsyntax - Verify GitHub permissions
- Review dependency compatibility
When contributing, ensure:
- PR title follows Conventional Commits
- All CI checks pass
- Tests are added for new features
- Documentation is updated
Push/PR → CI Workflow → Tests + Lint + Build
↓
Security Scan → Vulnerability Check + Secret Scan
↓
PR Checks → Title Validation + Coverage + Size
↓
Merge to main → Deploy to Vercel
↓
Release Please → Version Bump + Changelog
↓
NPM Publish
Last updated: October 2025