ci: attempt to fix labeler failures #174
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
name: "Pull Request Labeler" | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
jobs: | ||
label-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add Labels for PR | ||
uses: actions/labeler@v5 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Add PR Size Labels for PR | ||
uses: codelytv/pr-size-labeler@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
xs_label: 'size/XS' | ||
xs_max_size: '20' | ||
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' | ||
fail_if_xl: 'false' | ||
message_if_xl: > | ||
'This PR has too many changes. | ||
Please make sure you are NOT addressing multiple issues with one PR.' |