Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/depromeet/SPOT-server into …
Browse files Browse the repository at this point in the history
…feat/BSVR-54
  • Loading branch information
EunjiShin committed Jun 30, 2024
2 parents 0492c8a + e7f342e commit 1c2239b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Pull Request size labels
- name: "size/XS"
color: "A2D9A1"
description: "Extra Small size PR."
- name: "size/S"
color: "73BFF2"
description: "Small size PR."
- name: "size/M"
color: "FFEB3B"
description: "Medium size PR."
- name: "size/L"
color: "FF9800"
description: "Large size PR."
- name: "size/XL"
color: "F44336"
description: "Extra Large size PR."
27 changes: 27 additions & 0 deletions .github/workflow/pr-size-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PR-size-labeler

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- 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'
fail_if_xl: 'false'
message_if_xl: >
This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.
files_to_ignore: ''

0 comments on commit 1c2239b

Please sign in to comment.