mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-09 14:34:27 +00:00
chore(ci): define Github labels as code with a workflow (#93)
This commit is contained in:
parent
4575ced555
commit
bee85d6171
2 changed files with 96 additions and 0 deletions
72
.github/labels.yml
vendored
Normal file
72
.github/labels.yml
vendored
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
# libevm specific labels
|
||||||
|
- name: "Status: 🔴 Blocked by Geth sync"
|
||||||
|
color: "959a9c"
|
||||||
|
description: "This needs to wait for the next fork sync with the geth repository 🍴"
|
||||||
|
- name: "Status: 🔴 DO NOT MERGE"
|
||||||
|
color: "959a9c"
|
||||||
|
from_name: "DO NOT MERGE"
|
||||||
|
|
||||||
|
# General categories
|
||||||
|
- name: "Category: New feature 🆕"
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Documentation ✒️"
|
||||||
|
description: "A problem with the readme or a code comment."
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Bug 🐛"
|
||||||
|
color: "ffc7ea"
|
||||||
|
from_name: "bug"
|
||||||
|
- name: "Category: Investigation 🔍"
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: CI ⛓️"
|
||||||
|
description: "Anything related to continuous integration"
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Testing 🧪"
|
||||||
|
description: "Unit tests, integration tests, etc."
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Code quality ✏️"
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Performance 🚀"
|
||||||
|
color: "ffc7ea"
|
||||||
|
- name: "Category: Label missing ❗"
|
||||||
|
description: "Use this if it feels a label should be added to label this issue"
|
||||||
|
color: "ffc7ea"
|
||||||
|
|
||||||
|
# Status
|
||||||
|
- name: "Status: 🗯️ Waiting for feedback"
|
||||||
|
color: "f7d692"
|
||||||
|
- name: "Status: 🔴 Blocked"
|
||||||
|
color: "f7d692"
|
||||||
|
description: "Blocked by another issue or pull request"
|
||||||
|
- name: "Status: 🟡 Nearly resolved"
|
||||||
|
color: "f7d692"
|
||||||
|
description: "This might be resolved or is about to be resolved"
|
||||||
|
|
||||||
|
# Priority
|
||||||
|
- name: "Priority: 🚨 Urgent"
|
||||||
|
color: "03adfc"
|
||||||
|
- name: "Priority: 📌 Before next release"
|
||||||
|
color: "03adfc"
|
||||||
|
description: "Has to be done before the next release"
|
||||||
|
- name: "Status: 🔒 After next release"
|
||||||
|
color: "03adfc"
|
||||||
|
description: "Will be done after the next release"
|
||||||
|
- name: "Priority: 💤 Low priority"
|
||||||
|
color: "03adfc"
|
||||||
|
|
||||||
|
# Complexity
|
||||||
|
- name: "Complexity: 🟥 Hard to do"
|
||||||
|
color: "ff9efc"
|
||||||
|
- name: "Complexity: 🟦 Easy to do"
|
||||||
|
color: "ff9efc"
|
||||||
|
|
||||||
|
# Closing reason
|
||||||
|
- name: "Closed: 👥 Duplicate"
|
||||||
|
color: "959a9c"
|
||||||
|
description: "Issue duplicates an existing issue"
|
||||||
|
- name: "Closed: ⚰️ Inactive"
|
||||||
|
color: "959a9c"
|
||||||
|
description: "No answer was received for weeks"
|
||||||
|
- name: "Closed: 🙅 Won't fix"
|
||||||
|
color: "959a9c"
|
||||||
|
- name: "Closed: 🧺 Invalid"
|
||||||
|
color: "959a9c"
|
||||||
24
.github/workflows/labels.yml
vendored
Normal file
24
.github/workflows/labels.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: labels
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .github/labels.yml
|
||||||
|
- .github/workflows/labels.yml
|
||||||
|
pull_request: # dry run only
|
||||||
|
paths:
|
||||||
|
- .github/labels.yml
|
||||||
|
- .github/workflows/labels.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
labeler:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: crazy-max/ghaction-github-labeler@v5
|
||||||
|
with:
|
||||||
|
dry-run: ${{ github.event_name == 'pull_request' }}
|
||||||
Loading…
Reference in a new issue