Setup automatic PR labeler
ADD
.github/labeler.yml
+# Internal
+core:
+- packages/@romefrontend/core/**/*
+compiler:
+- packages/@romefrontend/compiler/**/*
+- "**/compile.ts"
+formatter:
+- packages/@romefrontend/formatter/**/*
+- "**/format.ts"
+linter:
+- packages/@romefrontend/compiler/lint/**/*
+- packages/@romefrontend/core/server/linter/**/*
+- "**/lint.ts"
+parser:
+- packages/@romefrontend/*-parser/**/*
+- "**/parse.ts"
+diagnostics:
+- packages/@romefrontend/diagnostics/**/*
+- packages/@romefrontend/cli-diagnostics/**/*
+cli:
+- packages/@romefrontend/cli-*/**/*
+- packages/@romefrontend/cli/**/*
+- packages/rome/**/*
+- packages/@romefrontend/core/client/commands/**/*
+
+# Meta
+tooling:
+- scripts/**/*
+- .github/**/*
+governance:
+- GOVERNANCE.md
+
+# User support
+design:
+- assets/**/*
+docs:
+- website/src/docs/**/*
+website:
+- website/**/*
+
+# Integration
+vscode:
+- packages/@romefrontend-integration/vscode/**/*
+lsp:
+- packages/@romefrontend/core/server/lsp/**/*
+- "**/lsp.ts"
+
+# Languages
+html:
+- packages/@romefrontend/html-parser/**/*
+- "**/html/**/*"
+- "**/html.ts"
+css:
+- packages/@romefrontend/css-parser/**/*
+- "**/css/**/*"
+- "**/css.ts"
+markdown:
+- packages/@romefrontend/markdown-*/**/*
+- "**/markdown/**/*"
+- "**/markdown.ts"
+- "**/md.ts"
+javascript:
+- packages/@romefrontend/js-*/**/*
+- "**/js/**/*"
+- "**/js.ts"
+- "**/javascript.ts"
+typescript:
+- "**/ts/**/*"
+- "**/typescript.ts"

ADD
.github/workflows/labeler.yml
+name: "Pull Request Labeler"
+on:
+- pull_request
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v2
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"

Setup automatic PR labeler (#842)