Closed lusloher closed 3 years ago
Did some research, I think we can just use this? https://github.com/tunnckoCore/triage-new-issues
What do you think @Roshanjossey ?
It's actually ok that it's added to every issue, Jina people can just remove it manually.
@FionnD, I tried https://github.com/tunnckoCore/triage-new-issues, for a different project. It didn't work for me.
I'm thinking about using the solution here https://github.community/t/apply-labels-automatically-at-issue-creation/1218 . Is that okay?
I found a solution to this.
Solution: This action can be altered to match all new issues by inserting a REGEX that catches all text. It will then label any new issue created with needs_triage.
Steps: These steps need to be taken for each of the following repos: Jina, Docs, hub, box, dashboard, examples, internal_tasks
.github/workflows/labeler.yml
which contains the following code:
on:
issues:
types: [opened]
jobs: triage: runs-on: ubuntu-latest steps:
4. A file in the directory `.github/labeler.yml` which contains the following code:
needs-triage:
5. Once the PR is approved, add an issue yourself and check it has been correctly labeled. If so, delete the issue.
It would make sense to do this for the docs repo first to double-check my approach. Open a PR, once it's approved, add a issue yourself and check it has been correctly assigned the label.
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
Task: GitHub action to automatically assign a label
needs-triage
to all new GitHub issues from community members. This is basically any issue created by another not in the Jina organization.This should be set up for the following repos: core repo, docs repo, hub, dashboard, jinabox, examples, cloud ops.
Only applied to the issues from outside the organization.