{"id":32591549,"url":"https://github.com/palpalani/agentkit-bayengage","last_synced_at":"2026-04-18T14:02:27.102Z","repository":{"id":319021391,"uuid":"1074663562","full_name":"palpalani/agentkit-bayengage","owner":"palpalani","description":"AgentKit connector for BayEngage (TargetBay) Marketing API: this tool enables AI agents built with OpenAI’s AgentKit / ChatKit to perform marketing automation — sending campaigns, managing contacts, querying analytics - via conversational workflows.","archived":false,"fork":false,"pushed_at":"2026-04-13T09:35:45.000Z","size":1228,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T11:28:36.107Z","etag":null,"topics":["agentkit","chatkit","marketing-automation","openai"],"latest_commit_sha":null,"homepage":"https://targetbay.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palpalani.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-12T08:28:09.000Z","updated_at":"2026-04-13T09:34:37.000Z","dependencies_parsed_at":"2025-12-04T11:01:43.976Z","dependency_job_id":null,"html_url":"https://github.com/palpalani/agentkit-bayengage","commit_stats":null,"previous_names":["palpalani/agentkit-bayengage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/palpalani/agentkit-bayengage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palpalani%2Fagentkit-bayengage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palpalani%2Fagentkit-bayengage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palpalani%2Fagentkit-bayengage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palpalani%2Fagentkit-bayengage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palpalani","download_url":"https://codeload.github.com/palpalani/agentkit-bayengage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palpalani%2Fagentkit-bayengage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentkit","chatkit","marketing-automation","openai"],"created_at":"2025-10-30T01:59:26.532Z","updated_at":"2026-04-18T14:02:22.090Z","avatar_url":"https://github.com/palpalani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Configuration\n\nThis directory contains GitHub-specific configuration files for the BayEngage Agent project.\n\n## 🔄 GitHub Actions Workflows\n\n### CI/CD Workflows\n\n#### **ci.yml** - Continuous Integration\n- **Triggers**: Push to main/develop, Pull requests\n- **Jobs**:\n  - **Test**: Runs tests on Node.js 18, 20, and 22\n  - **Lint**: TypeScript type checking\n  - **Build**: Compiles TypeScript and uploads artifacts\n- **Features**:\n  - Multi-version testing matrix\n  - Code coverage upload to Codecov\n  - Artifact preservation\n\n#### **pr-checks.yml** - Pull Request Checks\n- **Triggers**: Pull request events\n- **Jobs**:\n  - **Validate PR**: Checks PR title follows conventional commits\n  - **Size Check**: Reports build size in PR comments\n  - **Test Coverage**: Generates coverage reports\n- **Features**:\n  - Semantic PR title validation\n  - TODO/FIXME detection\n  - Bundle size tracking\n  - Coverage reporting\n\n#### **security.yml** - Security Scanning\n- **Triggers**: Push, Pull requests, Weekly schedule\n- **Jobs**:\n  - **Dependency Review**: Checks for vulnerable dependencies in PRs\n  - **NPM Audit**: Runs npm security audit\n  - **CodeQL**: GitHub's code scanning for vulnerabilities\n  - **Secret Scan**: Detects leaked secrets using TruffleHog\n- **Features**:\n  - Automated vulnerability detection\n  - Secret leak prevention\n  - Security advisories\n\n#### **deploy.yml** - Deployment\n- **Triggers**: Push to main, Version tags\n- **Jobs**:\n  - **Deploy to Vercel**: Automatic deployment\n  - **Publish to NPM**: Publishes on version tags\n  - **Create Release**: GitHub release creation\n- **Features**:\n  - Automatic production deployments\n  - Version-based NPM publishing\n  - Release notes generation\n\n#### **release.yml** - Release Management\n- **Triggers**: Push to main\n- **Jobs**:\n  - Uses Release Please for automated releases\n  - Creates changelogs\n  - Bumps versions\n  - Publishes to NPM\n- **Features**:\n  - Conventional commit-based versioning\n  - Automated changelog\n  - NPM package publishing\n\n#### **dependabot-auto-merge.yml** - Automated Dependency Updates\n- **Triggers**: Dependabot pull requests\n- **Jobs**:\n  - Auto-merges patch and minor version updates\n- **Features**:\n  - Safe automatic merging\n  - Version-aware approval\n\n#### **stale.yml** - Issue Management\n- **Triggers**: Daily schedule\n- **Jobs**:\n  - Marks inactive issues/PRs as stale\n  - Auto-closes after inactivity period\n- **Features**:\n  - Configurable stale periods\n  - Exempt labels support\n\n## 📋 Templates\n\n### Pull Request Template\n- **Location**: `PULL_REQUEST_TEMPLATE.md`\n- **Features**:\n  - Structured PR description\n  - Change type checklist\n  - Testing verification\n  - Review checklist\n\n### Issue Templates\n\n#### Bug Report (`bug_report.md`)\n- Reproduction steps\n- Environment details\n- Error logs\n- Expected vs actual behavior\n\n#### Feature Request (`feature_request.md`)\n- Problem statement\n- Proposed solution\n- Use cases\n- Implementation suggestions\n\n## 👥 CODEOWNERS\n\nDefines code ownership for automatic review requests.\n\n**Current owners**:\n- Default: `@palani`\n- Documentation: `@palani`\n- GitHub Actions: `@palani`\n- Source code: `@palani`\n- Tests: `@palani`\n\n## 🤖 Dependabot\n\n**Configuration**: `dependabot.yml`\n\n**Update Schedule**:\n- **NPM**: Weekly on Mondays at 9:00 AM\n- **GitHub Actions**: Weekly on Mondays at 9:00 AM\n\n**Settings**:\n- Maximum 10 open PRs\n- Auto-assigned to `@palani`\n- Labeled as `dependencies` and `automated`\n\n## 🔒 Required Secrets\n\nConfigure these in your GitHub repository settings:\n\n### Deployment\n- `VERCEL_TOKEN` - Vercel deployment token\n- `VERCEL_ORG_ID` - Vercel organization ID\n- `VERCEL_PROJECT_ID` - Vercel project ID\n- `NPM_TOKEN` - NPM publishing token\n\n### Security \u0026 Coverage\n- `CODECOV_TOKEN` - Codecov upload token (optional)\n\n### GitHub\n- `GITHUB_TOKEN` - Automatically provided by GitHub Actions\n\n## 🚀 Workflow Usage\n\n### Running CI on Pull Requests\n\n```bash\n# Create a PR with semantic title\ngit checkout -b feat/new-feature\ngit commit -m \"feat: add new feature\"\ngit push origin feat/new-feature\n# Open PR - CI will run automatically\n```\n\n### Creating a Release\n\n```bash\n# Commit with conventional commits\ngit commit -m \"feat: add new tool\"\ngit push origin main\n\n# Release Please will create a PR\n# Merge the PR to trigger release\n```\n\n### Manual Workflow Triggers\n\nSome workflows support manual triggering via GitHub UI:\n1. Go to Actions tab\n2. Select workflow\n3. Click \"Run workflow\"\n\n## 📊 Status Badges\n\nAdd these to your main README.md:\n\n```markdown\n![CI](https://github.com/yourusername/agentkit-bayengage/workflows/CI/badge.svg)\n![Security](https://github.com/yourusername/agentkit-bayengage/workflows/Security/badge.svg)\n![Deploy](https://github.com/yourusername/agentkit-bayengage/workflows/Deploy/badge.svg)\n```\n\n## 🔧 Customization\n\n### Updating Node.js Versions\n\nEdit `ci.yml`:\n\n```yaml\nstrategy:\n  matrix:\n    node-version: [18.x, 20.x, 22.x] # Modify here\n```\n\n### Changing Stale Periods\n\nEdit `stale.yml`:\n\n```yaml\ndays-before-issue-stale: 60  # Days before marking stale\ndays-before-issue-close: 30  # Days before closing\n```\n\n### Modifying Dependabot Schedule\n\nEdit `dependabot.yml`:\n\n```yaml\nschedule:\n  interval: 'weekly'  # Options: daily, weekly, monthly\n  day: 'monday'\n  time: '09:00'\n```\n\n## 🐛 Troubleshooting\n\n### CI Failing\n\n1. Check workflow logs in Actions tab\n2. Verify all dependencies are installed\n3. Ensure tests pass locally: `npm test`\n4. Check TypeScript compilation: `npm run type-check`\n\n### Deployment Failing\n\n1. Verify secrets are configured correctly\n2. Check Vercel/NPM token permissions\n3. Ensure build succeeds: `npm run build`\n\n### Dependabot Issues\n\n1. Check `dependabot.yml` syntax\n2. Verify GitHub permissions\n3. Review dependency compatibility\n\n## 📚 Resources\n\n- [GitHub Actions Documentation](https://docs.github.com/en/actions)\n- [Dependabot Configuration](https://docs.github.com/en/code-security/dependabot)\n- [CodeQL Analysis](https://codeql.github.com/)\n- [Release Please](https://github.com/googleapis/release-please)\n\n## 🤝 Contributing\n\nWhen contributing, ensure:\n- PR title follows [Conventional Commits](https://www.conventionalcommits.org/)\n- All CI checks pass\n- Tests are added for new features\n- Documentation is updated\n\n## 📝 Workflow Diagram\n\n```\nPush/PR → CI Workflow → Tests + Lint + Build\n       ↓\n    Security Scan → Vulnerability Check + Secret Scan\n       ↓\n    PR Checks → Title Validation + Coverage + Size\n       ↓\n    Merge to main → Deploy to Vercel\n                  ↓\n              Release Please → Version Bump + Changelog\n                            ↓\n                        NPM Publish\n```\n\n---\n\nLast updated: October 2025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalpalani%2Fagentkit-bayengage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalpalani%2Fagentkit-bayengage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalpalani%2Fagentkit-bayengage/lists"}