feat: add auto labeler

Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
This commit is contained in:
0xMRTT 2022-09-11 22:07:32 +02:00 committed by GitHub
parent ba9c911824
commit f90d18ea45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/label.yml vendored Normal file
View file

@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.ACCESS_TOKEN }}"