summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labels-issue.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/labels-issue.yml')
-rw-r--r--.github/workflows/labels-issue.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/labels-issue.yml b/.github/workflows/labels-issue.yml
new file mode 100644
index 00000000000..01486ba0824
--- /dev/null
+++ b/.github/workflows/labels-issue.yml
@@ -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 }}"