From f7418d80459f3e59a00f05e0ebfd59932346054d Mon Sep 17 00:00:00 2001 From: Ruperto Torres <86501267+torresxb1@users.noreply.github.com> Date: Thu, 19 May 2022 14:28:28 -0700 Subject: [PATCH] feat: improve new PR and issue labeling for triaging (#2400) * feat: improve new PR and issue labeling for triaging * missed pr labeler * anything else -> other --- .github/ISSUE_TEMPLATE.md | 28 ----------------------- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- .github/ISSUE_TEMPLATE/other.md | 8 +++++++ .github/workflows/pr-labeler.yml | 2 +- 6 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/other.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 933361a0d..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,28 +0,0 @@ - - -**Description:** - - - -**Steps to reproduce the issue:** -1. -2. -3. - -**Observed result:** - -**Expected result:** - diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 27d29d044..bd9c12d27 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,8 @@ --- name: Bug report about: Create an issue to report a bug for the SAM Translator -title: '' -labels: '' +title: "Bug: TITLE" +labels: ['type/bug', 'stage/needs-triage'] assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..ec4bb386b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 144feb3fb..64240dabc 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,8 +1,8 @@ --- name: Feature request about: Suggest an idea/feature/enhancement for the SAM Translator -title: '' -labels: '' +title: "Feature request: TITLE" +labels: ['type/feature', 'stage/needs-triage'] assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md new file mode 100644 index 000000000..a2863345c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.md @@ -0,0 +1,8 @@ +--- +name: Other +about: Choose if your issue doesn't apply to the other templates +title: '' +labels: ['stage/needs-triage'] +assignees: '' + +--- \ No newline at end of file diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index e4d50db9d..434e6ada4 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -26,6 +26,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - labels: ['pr/external'] + labels: ['pr/external', 'stage/needs-triage'] }) }