forked from kubernetes-sigs/agent-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (24 loc) · 955 Bytes
/
pr-analytics.yml
File metadata and controls
25 lines (24 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: "PR Velocity Analytics"
on:
workflow_dispatch: # Allows manual triggers for specific date ranges
schedule:
- cron: "0 0 * * 1" # Runs every Monday at midnight
jobs:
report:
runs-on: ubuntu-latest
permissions:
issues: write # Required for creating reports (as issues)
steps:
- name: "Generate PR Report"
uses: AlexSim93/pull-request-analytics-action@v4.10.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_OWNERS_REPOS: "kubernetes-sigs/agent-sandbox"
GITHUB_OWNER_FOR_ISSUE: "kubernetes-sigs"
GITHUB_REPO_FOR_ISSUE: "agent-sandbox"
# Velocity-focused configurations
CORE_HOURS_START: "09:00"
CORE_HOURS_END: "17:00"
TIMEZONE: "America/Los_Angeles" # Or "UTC"
SHOW_STATS_TYPES: "timeline, workload, response-time, code-review-engagement"
USE_CHARTS: "true" # Generates visual Mermaid diagrams