From 831f8b59d436075834cfc27b64e4ab32f4627e17 Mon Sep 17 00:00:00 2001 From: Wojciech Pietraszewski Date: Mon, 22 Jul 2024 16:26:07 +0200 Subject: [PATCH] ci: Upgrade PR labeler Adds a new label's category for Pull Request size. The labels are based on the amount of altered lines. --- .github/workflows/labeler.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 7c2d296d1..6c36fddaa 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -36,3 +36,9 @@ jobs: with: sync-labels: true configuration-path: .github/labeler_cfg.yml + + - name: Assign labels based on the PR's size + uses: codelytv/pr-size-labeler@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ignore_file_deletions: true