Skip to content

Commit

Permalink
feat: automatic PR labeling using actions/labeler@v4 (#9)
Browse files Browse the repository at this point in the history
## Related Issue #8 

## Changes
Pull Request Labeler to automate label assignment based on the file
changes in PRs.

https://github.com/actions/labeler

Co-authored-by: Jonghyeon Ko <[email protected]>
  • Loading branch information
tooooo1 and manudeli authored Sep 12, 2023
1 parent 349d1b0 commit c08a063
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"@fepack/image":
- packages/image/*
documentation:
- websites/documentation/*
- "**/*.md"
eslint:
- configs/eslint-config/*
tsconfig:
- configs/tsconfig/*
- tsconfig.json
dependencies:
- pnpm*.yaml
- package*.json
github:
- .github/*
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4

0 comments on commit c08a063

Please sign in to comment.