Skip to content

Commit

Permalink
Add PR size labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Nov 15, 2023
1 parent c501e72 commit 92e3b85
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr-size-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Pull Request Labeling

on:
- pull_request

jobs:

size-label:
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
sizes: >
{
"0": "small",
"50": "medium",
"250": "large"
}
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Color | Label | Description | Section |
|![](https://placehold.co/15x15/33B478/33B478.png)|Discussion|Issue is being discussed. Undetermined|Indicator|
|![](https://placehold.co/15x15/f4bd13/f4bd13.png)|Duplicate|Issue is already present|Indicator|
|![](https://placehold.co/15x15/CD456C/CD456C.png)|Not our bug|Bug in 3rd party component|Indicator|
|![](https://placehold.co/15x15/ededed/ededed.png)|size/small| less then 50 lines|Indicator / automatic|
|![](https://placehold.co/15x15/ededed/ededed.png)|size/medium| more then 50 and less then 250 lines|Indicator / automatic|
|![](https://placehold.co/15x15/ededed/ededed.png)|size/large| 250 lines or more|Indicator / automatic|
|![](https://placehold.co/15x15/bfd4f2/bfd4f2.png)|Desktop|Graphical user interface|Indicator / automatic|
|![](https://placehold.co/15x15/bfd4f2/bfd4f2.png)|Hardware|Hardware related - kernel, u-boot, patches|Indicator / automatic|
|![](https://placehold.co/15x15/bfd4f2/bfd4f2.png)|Software|Framework components|Indicator / automatic|
Expand Down

0 comments on commit 92e3b85

Please sign in to comment.