Skip to content

chore: bump actions/labeler from 5 to 6 #3

chore: bump actions/labeler from 5 to 6

chore: bump actions/labeler from 5 to 6 #3

Workflow file for this run

# Auto-label pull requests based on changed files and size
# https://github.com/actions/labeler
name: "Auto-Label PRs"
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Label based on changed files
uses: actions/labeler@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
- name: Label PR size
uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: "size: XS"
xs_max_size: 10
s_label: "size: S"
s_max_size: 100
m_label: "size: M"
m_max_size: 500
l_label: "size: L"
l_max_size: 1000
xl_label: "size: XL"
message_if_xl: |
This PR is quite large! Consider:
- Breaking it into smaller PRs
- Explaining the scope in the description
- Ensuring adequate test coverage