Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Commit 34016ba

Browse files
committed
Adopt splice/pr-risk-classifier (classify + feedback + cycle-time)
1 parent 07c1663 commit 34016ba

3 files changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Cycle Time
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
workflow_dispatch:
7+
inputs:
8+
pr_number:
9+
description: 'PR number to emit cycle-time metric for (workflow_dispatch only).'
10+
required: true
11+
type: string
12+
13+
jobs:
14+
emit:
15+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
16+
uses: splice/pr-risk-classifier/.github/workflows/cycle-time.yml@v1
17+
permissions:
18+
contents: read
19+
pull-requests: read
20+
with:
21+
pr_number: ${{ inputs.pr_number }}
22+
secrets: inherit
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PR Risk Check
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
workflow_dispatch:
7+
inputs:
8+
pr_number:
9+
description: 'PR number to classify (workflow_dispatch only).'
10+
required: true
11+
type: string
12+
13+
jobs:
14+
classify:
15+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.user.login == 'splicebot'
16+
uses: splice/pr-risk-classifier/.github/workflows/classify.yml@v1
17+
permissions:
18+
id-token: write
19+
contents: read
20+
pull-requests: write
21+
with:
22+
pr_number: ${{ inputs.pr_number }}
23+
secrets: inherit
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR Risk Feedback
2+
3+
on:
4+
pull_request:
5+
types: [labeled]
6+
issue_comment:
7+
types: [created]
8+
pull_request_review:
9+
types: [submitted]
10+
11+
jobs:
12+
feedback:
13+
uses: splice/pr-risk-classifier/.github/workflows/feedback.yml@v1
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
id-token: write # for SSM-sourced Linear API key (VEL-345 auto-filer)
18+
secrets: inherit

0 commit comments

Comments
 (0)