ci: Add an automatic labeler action

To automate a bit.
This commit is contained in:
Colin Walters 2023-09-07 17:38:59 -04:00
parent 00c04aefd3
commit 129969482e
2 changed files with 18 additions and 0 deletions

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

@ -0,0 +1,6 @@
area/prepare-root:
- src/switchroot/**
- src/boot
area/rust-bindings:
- rust-bindings/**

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

@ -0,0 +1,12 @@
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