Skip to content

Commit

Permalink
ci: Upgrade PR labeler
Browse files Browse the repository at this point in the history
Adds a new label's category for Pull Request size.
The labels are based on the number of altered lines.
  • Loading branch information
wpiet committed Jul 22, 2024
1 parent 9b8368b commit ee21b0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
permissions:
contents: read
pull-requests: write
issues: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -36,3 +37,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.10.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ignore_file_deletions: true

0 comments on commit ee21b0e

Please sign in to comment.