Skip to content

Commit

Permalink
[RFC] Automatically label PRs (#515)
Browse files Browse the repository at this point in the history
* Empty commit

* Add labeler

* Update labeler config

* Use main instead of v3 of labeler
  • Loading branch information
akihironitta authored Jan 16, 2021
1 parent 049c962 commit 413b9df
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
documentation:
- docs/**/*

callback:
- pl_bolts/callbacks/**/*

datamodule:
- pl_bolts/datamodules/**/*

model:
- pl_bolts/models/**/*
13 changes: 13 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Labeler

on:
pull_request_target:
types: [opened, reopened]

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

0 comments on commit 413b9df

Please sign in to comment.