This directory contains GitHub-specific configuration files for the FinTrack project.
.github/
βββ workflows/ # GitHub Actions workflows
β βββ ci.yml # Main CI/CD pipeline
β βββ codeql.yml # Security scanning (NEW)
βββ ISSUE_TEMPLATE/ # Issue templates
β βββ bug_report.yml # Bug report form
β βββ feature_request.yml # Feature request form
β βββ config.yml # Issue template configuration
βββ PULL_REQUEST_TEMPLATE.md # PR template
βββ dependabot.yml # Dependency update automation (NEW)
βββ rulesets-config.md # Ruleset documentation (NEW)
Runs on every push and PR to main:
- Installs dependencies with pnpm
- Runs linting (ESLint, Stylelint, Markdownlint)
- Runs backend tests (Mocha)
- Runs frontend tests (Vitest)
- Builds the application
Security scanning that runs:
- On every push to
main - On every PR to
main - Weekly (Monday 9 AM UTC)
Located in ISSUE_TEMPLATE/:
- Bug Report (
bug_report.yml): Structured form for reporting bugs - Feature Request (
feature_request.yml): Form for proposing new features - Config (
config.yml): Directs users to discussions for questions
PULL_REQUEST_TEMPLATE.md provides a checklist for contributors including:
- Change type selection
- Testing checklist
- Code review checklist
- Security considerations
dependabot.yml configures automated dependency updates:
- npm: Weekly updates for Node.js packages
- github-actions: Weekly updates for GitHub Actions
Updates are grouped by minor/patch vs major versions.
-
Settings β General
- β Allow squash merging (recommended)
- β Disable merge commits (cleaner history)
- β Automatically delete head branches
-
Settings β Security
- β Enable "Secret scanning"
- β Enable "Secret scanning push protection"
- β Enable "Dependabot alerts"
- β Enable "Dependabot security updates"
-
Settings β Rules β Rulesets Current: "Main Branch Quality Gate" (ID: 14189885)
- Requires status checks
- Requires linear history
- Requires PRs for main branch
See CONTRIBUTING.md for guidelines on:
- Development workflow
- Coding standards
- Testing requirements
- PR process
See SECURITY.md for:
- Vulnerability reporting process
- Security measures in place
- Security best practices
See CODE_OF_CONDUCT.md for community standards.
Note: These configurations follow GitHub community health best practices and align with industry standards for open source projects.