Label PRs automatically as prerelease.

This commit is contained in:
Jeremy Wood 2023-02-25 20:34:19 -05:00
parent 79b9c12319
commit 073091525b
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B
2 changed files with 19 additions and 0 deletions

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

@ -0,0 +1,2 @@
prerelease:
- '*'

17
.github/workflows/pr_labeler.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: "Pull Request Labeler"
on:
pull_request:
types: [opened]
branches: [main]
jobs:
prerelease_labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"