From 81264e4a77870d13b69620b2af1fa402f87e425a Mon Sep 17 00:00:00 2001 From: Nathan Marrs Date: Thu, 25 May 2023 09:21:29 -0700 Subject: [PATCH] Chore: update DataViz GitHub automation (#67880) --- .github/commands.json | 34 +------ .github/pr-commands.json | 196 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 197 insertions(+), 33 deletions(-) diff --git a/.github/commands.json b/.github/commands.json index f2e9cc2223c..f59faddf2a1 100644 --- a/.github/commands.json +++ b/.github/commands.json @@ -51,14 +51,6 @@ "addLabel":"not implemented", "comment":"This feature request has been open for a long time with few received upvotes or comments, so we are closing it. We're trying to limit open GitHub issues in order to better track planned work and features. \r\n\r\nThis doesn't mean that we'll never ever implement it or that we will never accept a PR for it. A closed issue can still attract upvotes and act as a ticket to track feature demand\/interest. \r\n\r\nThank You to you for taking the time to create this issue!" }, - { - "type":"label", - "name":"oss-user-essentials", - "action":"addToProject", - "addToProject":{ - "url":"https://github.com/orgs/grafana/projects/78" - } - }, { "type":"label", "name":"area/plugins-catalog", @@ -203,22 +195,6 @@ "url":"https://github.com/orgs/grafana/projects/111" } }, - { - "type":"label", - "name":"oss-user-essentials", - "action":"removeFromProject", - "removeFromProject":{ - "url":"https://github.com/orgs/grafana/projects/78" - } - }, - { - "type":"label", - "name":"oss-user-essentials", - "action":"removeFromProject", - "removeFromProject":{ - "url":"https://github.com/grafana/grafana/projects/33" - } - }, { "type": "label", "name": "team/operator-experience", @@ -453,20 +429,12 @@ }, { "type": "label", - "name": "area/panel/oss-dataviz", + "name": "area/panel/trend", "action": "addToProject", "addToProject": { "url": "https://github.com/orgs/grafana/projects/56" } }, - { - "type": "label", - "name": "area/panel/oss-bi", - "action": "addToProject", - "addToProject": { - "url": "https://github.com/orgs/grafana/projects/72" - } - }, { "type": "label", "name": "area/panel/table", diff --git a/.github/pr-commands.json b/.github/pr-commands.json index b505c9b2777..3453e1d6429 100644 --- a/.github/pr-commands.json +++ b/.github/pr-commands.json @@ -198,5 +198,201 @@ "addToProject":{ "url":"https://github.com/orgs/grafana/projects/69" } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/candlestick/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/candlestick" + }, + { + "type": "label", + "name": "area/panel/candlestick", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/canvas/**/*", "/public/app/features/canvas/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/canvas" + }, + { + "type": "label", + "name": "area/panel/canvas", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/barchart/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/barchart" + }, + { + "type": "label", + "name": "area/panel/barchart", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/geomap/**/*", "/public/app/features/geo/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/geomap" + }, + { + "type": "label", + "name": "area/panel/geomap", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/graph/**/*", "/packages/grafana-ui/src/components/Graph/**/*", "/packages/grafana-ui/src/components/GraphNG/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/graph" + }, + { + "type": "label", + "name": "area/panel/graph", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/heatmap/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/heatmap" + }, + { + "type": "label", + "name": "area/panel/heatmap", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/histogram/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/histogram" + }, + { + "type": "label", + "name": "area/panel/histogram", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/state-timeline/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/state-timeline" + }, + { + "type": "label", + "name": "area/panel/state-timeline", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/status-history/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/status-history" + }, + { + "type": "label", + "name": "area/panel/status-history", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/timeseries/**/*", "/packages/grafana-ui/src/components/TimeSeries/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/timeseries" + }, + { + "type": "label", + "name": "area/panel/timeseries", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/xychart/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/xychart" + }, + { + "type": "label", + "name": "area/panel/xychart", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["public/app/plugins/panel/trend/**/*"], + "action": "updateLabel", + "addLabel": "area/panel/trend" + }, + { + "type": "label", + "name": "area/panel/trend", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["/packages/grafana-ui/src/components/VizLegend/**/*"], + "action": "updateLabel", + "addLabel": "area/legend" + }, + { + "type": "label", + "name": "area/legend", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } + }, + { + "type": "changedfiles", + "matches": ["/packages/grafana-ui/src/components/VizTooltip/**/*", "public/app/feature/visualization/data-hover/**/*" ], + "action": "updateLabel", + "addLabel": "area/tooltip" + }, + { + "type": "label", + "name": "area/tooltip", + "action": "addToProject", + "addToProject": { + "url": "https://github.com/orgs/grafana/projects/56" + } } ]