mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Improve PR labels (#1861)
* chore: improve PR labels * chore: update action label
This commit is contained in:
parent
101643398a
commit
4a9c99c0a2
2 changed files with 37 additions and 1 deletions
35
.github/labeler.yml
vendored
35
.github/labeler.yml
vendored
|
@ -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/**
|
||||
|
|
3
.github/workflows/label.yml
vendored
3
.github/workflows/label.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue