Skip to content

Commit

Permalink
manage issue labels with labeler action
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Nov 23, 2023
1 parent f54e92c commit 598fa1c
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
- name: bug
color: d93f0b
description: Something isn't working as expected

- name: new feature
color: "159818"
description: Requests to add new functionality

- name: enhancement
color: c5def5
description: Changes to an existing feature

- name: documentation
color: e0d216
description: Related to the docs

- name: internal
color: f4ca81
description: Changes that aren't user-facing

- name: "tag: duplicate"
color: "2e3234"
description: Similar issue already exists

- name: "tag: in-progress"
color: "2e3234"
description: Task is in progress

- name: "tag: completed"
color: "2e3234"
description: Issue was completed successfully

- name: "tag: wontfix"
color: "2e3234"
description: Proposal will not be implemented

- name: "tag: help wanted"
color: "2e3234"
description: Maintainer is looking for help with the issue

- name: "tag: good first issue"
color: "2e3234"
description: Issues suitable for new contributors
21 changes: 21 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update issue labels

on:
pull_request:
branches:
- master
paths:
- .github/labels.yml
- .github/workflows/labeler.yml

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 598fa1c

Please sign in to comment.