Skip to content

Commit dba0049

Browse files
fix: route CVEs to Linear on-call
1 parent 21bc8d3 commit dba0049

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/scripts/test-vulnerability-triage.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ assert_workflow_contains "pins assets to the called workflow revision" 'ref: ${{
3838
assert_workflow_contains "uses the shared match filter" '-f .vulnerability-triage-workflow/.github/scripts/match-vulnerability-issue.jq'
3939
assert_workflow_contains "uses the shared classification filter" '-f .vulnerability-triage-workflow/.github/scripts/classify-vulnerability-issues.jq'
4040
assert_workflow_contains "uses the retrying Linear GraphQL client" '.vulnerability-triage-workflow/.github/scripts/linear-graphql-request.sh'
41+
assert_workflow_contains \
42+
"leaves new CVEs unassigned for Linear's on-call triage rotation" \
43+
$' assign_to_api_key_owner:\n description: \'Assign issues to the Linear API key owner when linear_assignee_id is empty. Leave disabled to allow Linear Triage responsibility to assign the on-call responder.\'\n required: false\n type: boolean\n default: false'
4144

4245
FAKE_CURL_DIR=$(mktemp -d)
4346
FAKE_CURL_COUNT=$(mktemp)

.github/workflows/vulnerability-triage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ on:
4646
type: boolean
4747
default: false
4848
linear_assignee_id:
49-
description: 'Linear user UUID to assign. Leave empty to use assign_to_api_key_owner behavior.'
49+
description: 'Linear user UUID to assign. Leave empty to create issues unassigned unless assign_to_api_key_owner is enabled.'
5050
required: false
5151
type: string
5252
default: ''
5353
assign_to_api_key_owner:
54-
description: 'Assign issues to the Linear API key owner when linear_assignee_id is empty.'
54+
description: 'Assign issues to the Linear API key owner when linear_assignee_id is empty. Leave disabled to allow Linear Triage responsibility to assign the on-call responder.'
5555
required: false
5656
type: boolean
57-
default: true
57+
default: false
5858
linear_state_name:
5959
description: 'Linear workflow state for newly created or reopened issues.'
6060
required: false

0 commit comments

Comments
 (0)