Skip to content

Commit

Permalink
Auto-label PRs based on their content (#7044)
Browse files Browse the repository at this point in the history
This PR adds the GitHub action [PR Labeler](https://github.com/actions/labeler) to auto-label PRs based on their content. 

Labeling is managed with a configuration file `.github/labeler.yml` using the following [options](https://github.com/actions/labeler#usage).

Authors:
  - Joseph (@jolorunyomi)
  - Mike Wendt (@mike-wendt)

Approvers:
  - AJ Schmidt (@ajschmidt8)
  - Keith Kraus (@kkraus14)
  - Mike Wendt (@mike-wendt)

URL: #7044
  • Loading branch information
jolorunyomi authored Feb 8, 2021
1 parent da0e794 commit a86d5dd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Documentation for config - https://github.com/actions/labeler#common-examples

cuDF (Python):
- 'python/**'
- 'notebooks/**'

libcudf:
- 'cpp/**'

CMake:
- '**/CMakeLists.txt'
- '**/cmake/**'

cuDF (Java):
- 'java/**'

gpuCI:
- 'ci/**'

conda:
- 'conda/**'
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit a86d5dd

Please sign in to comment.