feat: add LeetCode folder labeler (#1191)

* add labeler for Leetcode changes folder

* Update labeler.yml

add end line

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Alexander Pantyukhin 2023-01-06 03:24:30 +04:00 committed by GitHub
parent 60310deb9e
commit 1a5b5f522f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

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

@ -0,0 +1,2 @@
Leetcode folder changes:
- leetcode/**/*

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

@ -0,0 +1,14 @@
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 }}"