diff options
author | Gerry Manoim <gmanoim@quantopian.com> | 2020-09-18 13:27:07 -0400 |
---|---|---|
committer | Gerry Manoim <gmanoim@quantopian.com> | 2020-09-22 14:32:29 -0400 |
commit | 7afa1d0a5566e56c7f444ac6729784f9730bb559 (patch) | |
tree | edaeafced7b54e348c11c04c7957308c54d141c5 /.github | |
parent | 0d2536650ff1b750a9008cfd2893dcc1db58f94f (diff) | |
download | numpy-7afa1d0a5566e56c7f444ac6729784f9730bb559.tar.gz |
DEV: add pr prefix labeler and prefix mapping
Diffstat (limited to '.github')
-rw-r--r-- | .github/pr-prefix-labeler.yml | 12 | ||||
-rw-r--r-- | .github/workflows/labeler.yml | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/.github/pr-prefix-labeler.yml b/.github/pr-prefix-labeler.yml new file mode 100644 index 000000000..b50def97e --- /dev/null +++ b/.github/pr-prefix-labeler.yml @@ -0,0 +1,12 @@ +"API": "30 - API" +"BENCH": "28 - Benchmark" +"BUG": "00 - Bug" +"DEP": "07 - Deprecation" +"DEV": "16 - Development" +"DOC": "04 - Documentation" +"ENH": "01 - Enhancement" +"MAINT": "03 - Maintenance" +"REV": "34 - Reversion" +"TST": "05 - Testing" +"REL": "14 - Release" +"WIP": "25 - WIP" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..99db967b3 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,13 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + types: [opened, synchronize, reopened, edited] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - name: Label the PR + uses: gerrymanoim/pr-prefix-labeler@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |