Add PR labeler (#2909)

* Add PR labeler
This commit is contained in:
Ben Word
2021-12-23 11:56:54 -06:00
committed by GitHub
parent 27f565a63a
commit 1274cbcafc
2 changed files with 32 additions and 0 deletions

21
.github/labels.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
build:
- .eslintrc.js
- .prettierrc
- .stylelintrc
- bud.config.js
- tsconfig.json
dependencies:
- yarn.lock
javascript:
- resources/scripts/**/*.js
php:
- functions.php
- app/**/*.php
- resources/views/**/*.php
views:
- index.php
- resources/views/**/*.php

11
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"