Skip to content

Commit

Permalink
🔧 add labeler for github
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRZapata committed Apr 13, 2024
1 parent 325a544 commit b32618b
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
- name: ":ant: bug"
color: "ee0701"
- name: ":busts_in_silhouette: duplicate"
color: "cccccc"
- name: ":computer: UX"
color: "ce12ce"
- name: ":construction: maintenance"
color: "fbca04"
- name: ":hatching_chick: good first issue"
color: "7057ff"
- name: ":interrobang: maybe-bug"
color: "5fc1ce"
description: "Something that might be a bug if more info is given"
- name: ":mega: feedback"
color: "ecef8d"
- name: ":memo: docs"
color: "c2e0c6"
- name: ":no_entry_sign: invalid"
color: "e6e6e6"
- name: ":pray: help wanted"
color: "33aa3f"
- name: ":question: question"
color: "eaf961"
- name: ":rocket: future-maybe"
color: "fef2c0"
- name: ":sparkles: enhancement"
color: "84b6eb"
- name: ":thinking: needs more info"
color: "31e0ab"
- name: ":thought_balloon: proposal"
color: "1a388c"
description: "Requested major feature or change of behavior"
- name: ":x: wontfix"
color: "ffffff"
- name: "automerge"
color: "328cc1"
description: "Automatically merge PRs that meet the criteria"
31 changes: 31 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: github

on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/labels.yml'
pull_request:
paths:
- '.github/labels.yml'
- '.github/workflows/labels.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.PAT }}
yaml-file: .github/labels.yml
dry-run: ${{ github.event_name == 'pull_request' }}
exclude: |
help*
*issue
37 changes: 37 additions & 0 deletions {{cookiecutter.repo_name}}/.github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
- name: ":ant: bug"
color: "ee0701"
- name: ":busts_in_silhouette: duplicate"
color: "cccccc"
- name: ":computer: UX"
color: "ce12ce"
- name: ":construction: maintenance"
color: "fbca04"
- name: ":hatching_chick: good first issue"
color: "7057ff"
- name: ":interrobang: maybe-bug"
color: "5fc1ce"
description: "Something that might be a bug if more info is given"
- name: ":mega: feedback"
color: "ecef8d"
- name: ":memo: docs"
color: "c2e0c6"
- name: ":no_entry_sign: invalid"
color: "e6e6e6"
- name: ":pray: help wanted"
color: "33aa3f"
- name: ":question: question"
color: "eaf961"
- name: ":rocket: future-maybe"
color: "fef2c0"
- name: ":sparkles: enhancement"
color: "84b6eb"
- name: ":thinking: needs more info"
color: "31e0ab"
- name: ":thought_balloon: proposal"
color: "1a388c"
description: "Requested major feature or change of behavior"
- name: ":x: wontfix"
color: "ffffff"
- name: "automerge"
color: "328cc1"
description: "Automatically merge PRs that meet the criteria"
31 changes: 31 additions & 0 deletions {{cookiecutter.repo_name}}/.github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: github

on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/labels.yml'
pull_request:
paths:
- '.github/labels.yml'
- '.github/workflows/labels.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.PAT }}
yaml-file: .github/labels.yml
dry-run: ${{ github.event_name == 'pull_request' }}
exclude: |
help*
*issue

0 comments on commit b32618b

Please sign in to comment.