Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Init] PR Size Labeler #5

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: labeler

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
Comment on lines +7 to +9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p1) 제가 마일에서 세팅했을 때도 검사는 되고 라벨이 자동으로 생성이 안됐었는데, 그래서 permission 속성을 여기에 추가해두고, 라벨 직접 만들어뒀었는데 (ex. size/xs, size/s, size/m … 각자 라벨 세팅해뒀었음)
확인 한 번 해보시면 좋을 것 가타요!

참고 PR!

- uses: Gascon1/pr-size-labeler@v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/xs'
xs_diff: '10'
s_label: 'size/s'
s_diff: '50'
m_label: 'size/m'
m_diff: '250'
l_label: 'size/l'
l_diff: '500'
xl_label: 'size/xl'
fail_if_xl: 'false'
message_if_xl: >
PR이 1000줄을 넘었는데 진정 이것이 PR인지 다시 생각해보세오
이슈를 여러개 파서 PR을 분리하는게 어떠싱지 ㅋ
j-nary marked this conversation as resolved.
Show resolved Hide resolved
excluded_files: |
"package-lock.json"
"*.lock"
"docs/*"
Loading