Improve PR labels (#1861)

* chore: improve PR labels

* chore: update action label
This commit is contained in:
Nate Moore 2021-11-17 14:31:58 -06:00 committed by GitHub
parent 101643398a
commit 4a9c99c0a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 1 deletions

35
.github/labeler.yml vendored
View file

@ -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/**

View file

@ -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