Skip to content

Commit dca479e

Browse files
authored
Add labeler (#218)
### Description <!-- Provide a comprehensive description here about what your PR aims to solve. --> <!-- You may also add additional context --> Closes #214 --- ### PR Checklist <!-- Please do not remove this section --> <!-- Mark each item with an "x" ([ ] becomes [x]) --> - [x] Read the Developer's Guide in [CONTRIBUTING.md](https://github.com/yamcodes/bedstack/blob/main/CONTRIBUTING.md) - [x] Use a concise title to represent the changes introduced in this PR - [x] Provide a detailed description of the changes introduced in this PR, and, if necessary, some screenshots - [x] Reference an issue or discussion where the feature or changes have been previously discussed - [x] Add a failing test that passes with the changes introduced in this PR, or explain why it's not feasible - [x] Add documentation for the feature or changes introduced in this PR to the docs; you can run them with `bun docs` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added automated pull request labeling system for improved organization tracking across project areas (frontend applications, documentation, tests, and CI/CD workflows). <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent c19bae7 commit dca479e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/labeler.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Configuration for GitHub PR Labeler
2+
# https://github.com/actions/labeler
3+
4+
conduit:
5+
- changed-files:
6+
- any-glob-to-any-file: "apps/conduit/**/*"
7+
8+
www:
9+
- changed-files:
10+
- any-glob-to-any-file: "apps/www/**/*"
11+
12+
docs:
13+
- changed-files:
14+
- any-glob-to-any-file: ["**/*.md"]
15+
16+
tests:
17+
- changed-files:
18+
- any-glob-to-any-file: ["**/*.test.ts", "**/*.test.tsx"]
19+
20+
"github actions":
21+
- changed-files:
22+
- any-glob-to-any-file: ".github/**/*"

.github/workflows/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Pull Request Labeler"
2+
3+
on:
4+
- pull_request_target
5+
6+
jobs:
7+
labeler:
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/labeler@v6
14+
with:
15+
sync-labels: true

0 commit comments

Comments
 (0)