Skip to content

Commit

Permalink
UII-19683 Add labeler workflow to .github repository (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
HorizonNet authored Apr 18, 2024
1 parent 3e557c8 commit 500a998
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/config/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- name: "bug"
color: "d73a4a"
description: "Something isn't working"
- name: "dependencies"
color: "fbca04"
description: "Update of dependencies"
- name: "documentation"
color: "0075ca"
description: "Improvements or additions to documentation"
- name: "enhancement"
color: "008672"
description: "New feature or request"
- name: "size/XS"
color: "0e8a16"
description: "PR with minimal changes"
- name: "size/S"
color: "0EFABD"
description: "PR with small changes"
- name: "size/M"
color: "75CEF4"
description: "PR with medium changes"
- name: "size/L"
color: "FBCA04"
description: "PR with large changes"
- name: "size/XL"
color: "B60205"
description: "PR with very large changes"
28 changes: 28 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Labeler

on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/config/labels.yml

jobs:
modify-labels:
name: Modify labels

runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/[email protected]

- name: Run Labeler
uses: crazy-max/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/config/labels.yml
skip-delete: false
dry-run: false

0 comments on commit 500a998

Please sign in to comment.