diff --git a/.github/pr-commands.json b/.github/pr-commands.json index d2f7b99ffb2..5da69fb9760 100644 --- a/.github/pr-commands.json +++ b/.github/pr-commands.json @@ -2,8 +2,8 @@ { "type": "changedfiles", "matches": [ - "/docs/", - "/contribute/" + "docs/**/*", + "contribute/**/*" ], "action": "updateLabel", "addLabel": "type/docs" @@ -11,15 +11,15 @@ { "type": "changedfiles", "matches": [ - "/public", - "/packages", - "/e2e", - "/plugins-bundled", - "/scripts/build/release-packages.sh", - "/scripts/circle-release-next-packages.sh", - "/scripts/ci-frontend-metrics.sh", - "/scripts/grunt", - "/scripts/webpack", + "public/**/*", + "packages/**/*", + "e2e/**/*", + "plugins-bundled/**/*", + "scripts/build/release-packages.sh", + "scripts/circle-release-next-packages.sh", + "scripts/ci-frontend-metrics.sh", + "scripts/grunt/**/*", + "scripts/webpack/**/*", "package.json", "tsconfig.json", "lerna.json", @@ -37,9 +37,9 @@ "*.go", "go.mod", "go.sum", - "/contribute/style-guides/backend.md", - "/contribute/architecture/backend", - "/scripts/go/" + "contribute/style-guides/backend.md", + "contribute/architecture/backend/**/*", + "scripts/go/**/*" ], "action": "updateLabel", "addLabel": "area/backend" @@ -47,7 +47,7 @@ { "type": "changedfiles", "matches": [ - "/pkg/services/sqlstore/migrations", + "pkg/services/sqlstore/migrations/**/*", "*_mig.go" ], "action": "updateLabel", @@ -55,114 +55,114 @@ }, { "type": "changedfiles", - "matches": [ "/public/app/features/explore"], + "matches": [ "public/app/features/explore/**/*"], "action": "updateLabel", "addLabel": "area/explore" }, { "type": "changedfiles", "matches": [ - "/.circleci", - "/packaging", - "/scripts/build", - "/scripts/*.sh", - "/scripts/*.star", - "/.drone.star", - "/.drone.yml", - "/Makefile", - "/Dockerfile", - "/Dockerfile.ubuntu" + ".circleci/**/*", + "packaging/**/*", + "scripts/build/**/*", + "scripts/*.sh", + "scripts/*.star", + ".drone.star", + ".drone.yml", + "Makefile", + "Dockerfile", + "Dockerfile.ubuntu" ], "action": "updateLabel", "addLabel": "type/build-packaging" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/grafana-azure-monitor-datasource", "/pkg/tsdb/azuremonitor"], + "matches": [ "public/app/plugins/datasource/grafana-azure-monitor-datasource/**/*", "pkg/tsdb/azuremonitor/**/*"], "action": "updateLabel", "addLabel": "datasource/Azure" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/cloud-monitoring", "/pkg/tsdb/cloudmonitoring"], + "matches": [ "public/app/plugins/datasource/cloud-monitoring/**/*", "pkg/tsdb/cloudmonitoring/**/*"], "action": "updateLabel", "addLabel": "datasource/GoogleCloudMonitoring" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/cloudwatch", "/pkg/tsdb/cloudwatch"], + "matches": [ "public/app/plugins/datasource/cloudwatch/**/*", "pkg/tsdb/cloudwatch/**/*"], "action": "updateLabel", "addLabel": "datasource/CloudWatch" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/elasticsearch", "/pkg/tsdb/elasticsearch"], + "matches": [ "public/app/plugins/datasource/elasticsearch/**/*", "pkg/tsdb/elasticsearch/**/*"], "action": "updateLabel", "addLabel": "datasource/Prometheus" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/graphite", "/pkg/tsdb/graphite"], + "matches": [ "public/app/plugins/datasource/graphite/**/*", "pkg/tsdb/graphite/**/*"], "action": "updateLabel", "addLabel": "datasource/Graphite" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/influxdb", "/pkg/tsdb/influx"], + "matches": [ "public/app/plugins/datasource/influxdb/**/*", "pkg/tsdb/influx/**/*"], "action": "updateLabel", "addLabel": "datasource/InfluxDB" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/jaeger"], + "matches": [ "public/app/plugins/datasource/jaeger"], "action": "updateLabel", "addLabel": "datasource/Jaeger" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/loki", "/pkg/tsdb/loki"], + "matches": [ "public/app/plugins/datasource/loki/**/*", "pkg/tsdb/loki/**/*"], "action": "updateLabel", "addLabel": "datasource/Loki" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/mssql", "/pkg/tsdb/mssql"], + "matches": [ "public/app/plugins/datasource/mssql/**/*", "pkg/tsdb/mssql/**/*"], "action": "updateLabel", "addLabel": "datasource/MSSQL" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/mysql", "/pkg/tsdb/mysql"], + "matches": [ "public/app/plugins/datasource/mysql/**/*", "pkg/tsdb/mysql/**/*"], "action": "updateLabel", "addLabel": "datasource/MySQL" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/opentsdb", "/pkg/tsdb/opentsdb"], + "matches": [ "public/app/plugins/datasource/opentsdb/**/*", "pkg/tsdb/opentsdb/**/*"], "action": "updateLabel", "addLabel": "datasource/OpenTSDB" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/postgres", "/pkg/tsdb/postgres"], + "matches": [ "public/app/plugins/datasource/postgres/**/*", "pkg/tsdb/postgres/**/*"], "action": "updateLabel", "addLabel": "datasource/Postgres" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/prometheus", "/pkg/tsdb/prometheus"], + "matches": [ "public/app/plugins/datasource/prometheus/**/*", "pkg/tsdb/prometheus/**/*"], "action": "updateLabel", "addLabel": "datasource/Prometheus" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/tempo", "/pkg/tsdb/tempo"], + "matches": [ "public/app/plugins/datasource/tempo/**/*", "pkg/tsdb/tempo/**/*"], "action": "updateLabel", "addLabel": "datasource/Tempo" }, { "type": "changedfiles", - "matches": [ "/public/app/plugins/datasource/zipkin"], + "matches": [ "public/app/plugins/datasource/zipkin"], "action": "updateLabel", "addLabel": "datasource/Zipkin" }