Merge pull request #39 from AlessandroBregoli/38-meta-explicitly-declare-labels-on-a-file

Added labels to `labels.yml` and automated the edits via GH Actions plus small edit to the templates
pull/40/head
Meliurwen 3 years ago committed by GitHub
commit 2371fca072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/ISSUE_TEMPLATE/refactor_request.md
  2. 36
      .github/labels.yml
  3. 2
      .github/pull_request_template.md
  4. 23
      .github/workflows/labels.yml

@ -2,7 +2,7 @@
name: ⚙ Refactor request name: ⚙ Refactor request
about: Suggest a refactor for this project about: Suggest a refactor for this project
title: '[Refactor] ' title: '[Refactor] '
labels: 'enhancement' labels: enhancement, refactor
assignees: '' assignees: ''
--- ---

@ -0,0 +1,36 @@
- name: "bug"
color: "d73a4a"
description: "Something isn't working"
- name: "enhancement"
color: "a2eeef"
description: "New feature or request"
- name: "refactor"
color: "B06E16"
description: "Change in the structure"
- name: "documentation"
color: "0075ca"
description: "Improvements or additions to documentation"
- name: "meta"
color: "1D76DB"
description: "Something related to the project itself"
- name: "duplicate"
color: "cfd3d7"
description: "This issue or pull request already exists"
- name: "help wanted"
color: "008672"
description: "Extra help is needed"
- name: "urgent"
color: "D93F0B"
description: ""
- name: "wontfix"
color: "ffffff"
description: "This will not be worked on"
- name: "invalid"
color: "e4e669"
description: "This doesn't seem right"
- name: "question"
color: "d876e3"
description: "Further information is requested"

@ -1,4 +1,4 @@
# Pull/Merge Request into master dev <!-- # Pull/Merge Request into dev -->
## Description ## Description

@ -0,0 +1,23 @@
name: meta-github
on:
push:
branches:
- dev
jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
skip-delete: false
dry-run: false
Loading…
Cancel
Save