Github action for ensuring PRs are labeled in a way that makes it easy to distinguish what's being changed

This commit is contained in:
Brandon Rising
2024-01-22 11:22:33 -05:00
parent 6a2856e46f
commit 6057229ceb
2 changed files with 56 additions and 0 deletions

16
.github/workflows/label-pr.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
configuration-path: .github/pr_labels.yml