diff --git a/.github/labeler.yml b/.github/labeler.yml index 0f39cc3ebd..44e4467355 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -3,7 +3,7 @@ example: - examples/**/* -action: +'🚨 action': - .github/workflows/** docs: @@ -12,6 +12,9 @@ docs: www: - www/** +test: +- packages/**/*.test.js + i18n: - any: - 'docs/src/pages/*/**' @@ -19,3 +22,33 @@ i18n: - '!docs/src/pages/guides/**' - '!docs/src/pages/migration/**' - '!docs/src/pages/reference/**' + +core: +- packages/astro/** + +create-astro: +- packages/create-astro/** + +markdown: +- packages/markdown/** + +renderer: +- packages/renderers/** + +framework-lit: +- packages/renderers/renderer-lit/** + +framework-preact: +- packages/renderers/renderer-preact/** + +framework-react: +- packages/renderers/renderer-react/** + +framework-solid: +- packages/renderers/renderer-solid/** + +framework-svelte: +- packages/renderers/renderer-svelte/** + +framework-vue: +- packages/renderers/renderer-vue/** diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 39929e9bc0..6a29b424e0 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -1,3 +1,5 @@ +# Automatically labels PRs based on the configuration file +# you are probably looking for 👉 `.github/labeler.yml` name: Label PRs on: @@ -10,3 +12,4 @@ jobs: - uses: actions/labeler@v3 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true