diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..557156d --- /dev/null +++ b/.github/labels.yml @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..331ddc9 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}"