From 8e7709e72e4b5abcdb9dd21ba53f58eeba627fcd Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Wed, 5 Aug 2026 23:50:15 -0700 Subject: [PATCH] chore(ci): map canvas scope to the desktop label --- .github/auto-assign-labels.json | 2 +- .github/scripts/label-pr-from-title.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/auto-assign-labels.json b/.github/auto-assign-labels.json index c635fd511e37..380d0f247d8b 100644 --- a/.github/auto-assign-labels.json +++ b/.github/auto-assign-labels.json @@ -10,7 +10,7 @@ "labels": ["team/feature-flags", "feature/cohorts"] }, { - "scopes": ["desktop", "tasks", "agent-proxy"], + "scopes": ["desktop", "tasks", "agent-proxy", "canvas"], "labels": ["feature/desktop"] } ] diff --git a/.github/scripts/label-pr-from-title.test.js b/.github/scripts/label-pr-from-title.test.js index 9d7261c31226..d5ebb1322cea 100644 --- a/.github/scripts/label-pr-from-title.test.js +++ b/.github/scripts/label-pr-from-title.test.js @@ -141,7 +141,7 @@ for (const scope of ['flag', 'feature-flag', 'feature_flags', 'feature_flag']) { // to the shipped config so an edit that drops or mislabels one regresses // loudly here. Asserts containment rather than the exact list so the rule can // gain labels without breaking. -for (const scope of ['desktop', 'tasks', 'agent-proxy']) { +for (const scope of ['desktop', 'tasks', 'agent-proxy', 'canvas']) { test(`the shipped config maps the ${scope} scope to the desktop label`, () => { assert.ok( labelsForTitle(`feat(${scope}): x`, loadRules()).includes('feature/desktop'),