From 1a5b5f522fd10ad0a7eb6d6a8b7ad9366b7a053f Mon Sep 17 00:00:00 2001 From: Alexander Pantyukhin Date: Fri, 6 Jan 2023 03:24:30 +0400 Subject: [PATCH] feat: add LeetCode folder labeler (#1191) * add labeler for Leetcode changes folder * Update labeler.yml add end line Co-authored-by: David Leal --- .github/labeler.yml | 2 ++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..caabb2d1 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +Leetcode folder changes: +- leetcode/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..fe3f22d5 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}"