This commit overhauls the CI/CD infrastructure with enterprise-grade workflows: ## Workflow Changes ### Removed - issue-labeler.yml (TrinityCore-specific, won't run on fork) - win-x64-build.yml (consolidated into windows-build.yml) ### Added - codeql-analysis.yml: Security scanning with CodeQL, Trivy, TruffleHog - release.yml: Multi-platform automated releases (Windows, Linux, macOS) - upstream-sync.yml: Weekly TrinityCore upstream synchronization - docs-validation.yml: Markdown lint, link check, spell check - stale.yml: Automated stale issue/PR management - notifications.yml: Discord/Slack integration for build status - windows-build.yml: Enhanced Windows build with tests ### Enhanced - linux-build.yml: Added timeouts, artifact uploads, improved formatting - macos-arm-build.yml: Added ccache, timeouts, artifact uploads - playerbot-nightly-review.yml: Full trend analysis, metrics collection - pr-labeler.yml: File-based labels, size labels, auto-assign ### Configuration Files - labeler.yml: Path-based PR label mappings - auto-assign.yml: Automatic reviewer assignment ## Trigger Schedule (UTC) - 01:00 Daily: Stale issue management - 02:00 Daily: Nightly review with trend analysis - 03:00 Sunday: Upstream sync - 04:00 Monday: CodeQL security analysis - 00:00 Sunday: Dependency updates ## Features - Multi-platform builds with parallel execution - Automated security scanning and vulnerability detection - Historical metrics and trend analysis - Discord/Slack notifications (webhook-based) - Automated release creation with changelogs - PR size labeling and auto-assignment Co-Authored-By: Claude Opus 4.5 <[email protected]> Signed-off-by: luis <[email protected]>
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
# Auto-assign Configuration for Pull Requests
|
|
# This configuration automatically assigns reviewers and assignees to PRs
|
|
|
|
# Add reviewers to PRs
|
|
addReviewers: true
|
|
|
|
# Add assignees to PRs
|
|
addAssignees: true
|
|
|
|
# Set to 'author' to assign the PR author as the assignee
|
|
assignees:
|
|
- author
|
|
|
|
# Number of reviewers to assign
|
|
numberOfReviewers: 1
|
|
|
|
# List of possible reviewers
|
|
# Uncomment and add GitHub usernames when team grows
|
|
# reviewers:
|
|
# - reviewer1
|
|
# - reviewer2
|
|
|
|
# Review groups - assign reviewers from specific groups based on files changed
|
|
# Uncomment and configure when team is established
|
|
# reviewGroups:
|
|
# playerbotTeam:
|
|
# - playerbot-dev1
|
|
# - playerbot-dev2
|
|
# coreTeam:
|
|
# - core-dev1
|
|
# - core-dev2
|
|
|
|
# Filter by PR author
|
|
# Useful to exclude bots or specific users from auto-assignment
|
|
filterLabels:
|
|
include: []
|
|
exclude:
|
|
- 'automated'
|
|
- 'upstream-sync'
|
|
|
|
# Skip draft PRs
|
|
skipDraft: true
|
|
|
|
# Run only when the PR is opened
|
|
runOnDraft: false
|
|
|
|
# Use CODEOWNERS-style file pattern matching
|
|
# Uncomment to enable file-based reviewer assignment
|
|
# useReviewGroups: true
|
|
# assignFromBothGroups: false
|