Skip to content

Commit

Permalink
.github/workflows: auto label pull-requests
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Mar 4, 2024
1 parent 3c89448 commit 6ddaf34
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'repo: Client':
- changed-files:
- any-glob-to-any-file:
- 'client/**'

'repo: Server':
- changed-files:
- any-glob-to-any-file:
- 'server/**'

'repo: Docs':
- changed-files:
- any-glob-to-any-file:
- 'docs/**'

'repo: Components':
- changed-files:
- any-glob-to-any-file:
- 'packages/components/**'
13 changes: 13 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pull Request

on: [pull_request_target]

jobs:
add-labels:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Add labels
uses: actions/labeler@v5

0 comments on commit 6ddaf34

Please sign in to comment.