Add pull request labeler

This commit is contained in:
John Bampton 2023-10-07 00:40:27 +10:00
parent 316c276545
commit bbd0325c10
2 changed files with 38 additions and 0 deletions

23
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,23 @@
repo:
- '*'
github:
- .github/**/*
application:
- application/**/*
docs:
- docs/**/*
extensions:
- extensions/**/*
frontend:
- frontend/**/*
scripts:
- scripts/**/*
tests:
- tests/**/*

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

@ -0,0 +1,15 @@
# https://github.com/actions/labeler
name: Pull Request Labeler
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true