You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a PR is updated with a commit and the number of modified lines changes, the GHAction applies the label to the PR, however it does not remove the old label and adds the new label of the corresponding size.
Actually the action is quite simple:
on:
pull_request:
jobs:
tag_pr_size:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_max_size: '10'
s_max_size: '30'
m_max_size: '100'
l_max_size: '500'
message_if_xl: >
'This PR exceeds the recommended size of 500 lines.
Please make sure you are NOT addressing multiple issues with one PR.’
Examples:
name: Label PR Size
Thanks for the work!
The text was updated successfully, but these errors were encountered:
The issue with duplicated labels still occurs. Sometimes the action removes outdated label, but here is one recent example where it has not.
Is there any chance to have someone looking into it?
When a PR is updated with a commit and the number of modified lines changes, the GHAction applies the label to the PR, however it does not remove the old label and adds the new label of the corresponding size.
Actually the action is quite simple:
Examples:
name: Label PR Size
Thanks for the work!
The text was updated successfully, but these errors were encountered: