From 5b0b406d9c9707ee5d000439f3e28ebb24e78cf6 Mon Sep 17 00:00:00 2001 From: keertk Date: Fri, 1 Dec 2023 07:06:43 -0800 Subject: [PATCH] Clean up labels + automation (#100) * Update stale.yml * Update labeler.yml * Update bug_report.yml * Update feature_request.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .github/labeler.yml | 3 +++ .github/workflows/stale.yml | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d76e4609d..dbf4cd59e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,6 @@ name: Bug report description: Use this template to report bugs -labels: ["type:bug"] +labels: ["type:bug", "component:python sdk"] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 9d789ff54..71ee847ad 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,6 +1,6 @@ name: Feature request description: Use this template to suggest a new feature -labels: ["type:feature request"] +labels: ["type:feature request", "component:python sdk"] body: - type: markdown attributes: diff --git a/.github/labeler.yml b/.github/labeler.yml index 726d878b9..b7b5d7820 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,5 @@ 'status:awaiting review': - '**/*' + +'component:python sdk': +- '**/*' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d010dde99..df7d6c186 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -24,7 +24,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 14 days-before-issue-close: 14 - stale-issue-label: "stale" + stale-issue-label: "status:stale" close-issue-reason: not_planned any-of-labels: "status:awaiting user response,status:more data needed" stale-issue-message: > @@ -35,7 +35,7 @@ jobs: Please post a new issue if you need further assistance. Thanks! days-before-pr-stale: 14 days-before-pr-close: 14 - stale-pr-label: "stale" + stale-pr-label: "status:stale" stale-pr-message: > Marking this pull request as stale since it has been open for 14 days with no activity. This PR will be closed if no further activity occurs.