Skip to content

Commit

Permalink
chore: Add labeler workflow for pull request sizes (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
HorizonNet authored Oct 16, 2023
1 parent 545a075 commit 00a15d3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pull-request-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Pull Request Labeler

on:
pull_request_target:

jobs:
triage:
name: Label triage

permissions:
issues: write
pull-requests: write

runs-on: ubuntu-22.04

steps:
- uses: CodelyTV/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/XS'
xs_max_size: '30'
s_label: 'size/S'
s_max_size: '60'
m_label: 'size/M'
m_max_size: '150'
l_label: 'size/L'
l_max_size: '300'
xl_label: 'size/XL'
message_if_xl: ''

0 comments on commit 00a15d3

Please sign in to comment.