mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 00:12:29 +00:00
add labels automatically when issue is created (#2033)
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
This commit is contained in:
27
.github/workflows/issue.yml
vendored
Normal file
27
.github/workflows/issue.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: "Set Issue Label and Assignee"
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Naturalclar/issue-action@v2.0.2
|
||||
with:
|
||||
title-or-body: "both"
|
||||
parameters:
|
||||
'[ {"keywords": ["bug", "error", "issue"], "labels": ["bug"]},
|
||||
{"keywords": ["help", "guidance"], "labels": ["help-wanted"], "assignees": ["colin99d"]},
|
||||
{"keywords": ["portfolio"], "labels": ["portfolio"], "assignees": ["JerBouma", "montezdesousa"]},
|
||||
{"keywords": ["dashboards"], "labels": ["dashboards"], "assignees": ["colin99d"]},
|
||||
{"keywords": ["dependencies"], "labels": ["dependencies"], "assignees": ["piiq"]},
|
||||
{"keywords": ["build"], "labels": ["build"], "assignees": ["piiq"]},
|
||||
{"keywords": ["jupyter"], "labels": ["jupyterlab"], "assignees": ["piiq"]},
|
||||
{"keywords": ["reports"], "labels": ["notebookreports"], "assignees": ["piiq"]},
|
||||
{"keywords": ["installer"], "labels": ["installer"], "assignees": ["piiq", "andrewkenreich"]},
|
||||
{"keywords": ["pytest", "tests"], "labels": ["tests"], "assignees": ["Chavithra"]},
|
||||
{"keywords": ["guides"], "labels": ["guides"], "assignees": ["JerBouma"]},
|
||||
{"keywords": ["crypto"], "labels": ["crypto"], "assignees": ["minhhoang1023"]}
|
||||
]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
6
.github/workflows/labels.yml
vendored
6
.github/workflows/labels.yml
vendored
@@ -1,16 +1,16 @@
|
||||
name: Pull Request Labels
|
||||
"on":
|
||||
pull_request:
|
||||
pull_request:
|
||||
types: [opened, reopened, labeled, unlabeled, synchronize]
|
||||
jobs:
|
||||
label:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: minimum
|
||||
count: 1
|
||||
labels: "website, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, discord, dependencies, notebookreports, dashboards"
|
||||
labels: "guides, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, discord, dependencies, notebookreports, dashboards, API, analytics, portfolio"
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: exactly
|
||||
|
||||
Reference in New Issue
Block a user