From cb418bd696e304f1ccf0c63acf73207770017f7c Mon Sep 17 00:00:00 2001 From: mgechev Date: Thu, 6 May 2021 16:49:59 -0700 Subject: [PATCH] ci: introduce action implementing feature request prioritization process (#41975) Enable a GitHub action that implements our new feature request [process](https://github.com/angular/angular/blob/ce8e011a9f7c6bac94292d632b0cc8822f710a66/docs/GITHUB_PROCESS.md#feature-request-process). As a prerequisite, we need to create the following labels: - `in backlog` - `votes required` - `under consideration` - `insufficient votes` The bot will also use the existing `feature` label to identify feature requests. With its current configuration, we need to kick the process off manually. We currently also have a limit, meaning the bot will process only 50 feature requests before it exits. Additionally, now the bot will not close issues, it'll just comment on them and if they have an insufficient number of votes, the bot will label them with `insufficient votes`. On the next iteration, we can: - Expand the limit from 50 to infinity (removing the option from the yml file) - Set a cron configuration to kick off the bot automatically - Enable autoclose by setting the `close-when-no-sufficient-votes` to `true` PR Close #41975 --- .github/workflows/feature-requests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/feature-requests.yml diff --git a/.github/workflows/feature-requests.yml b/.github/workflows/feature-requests.yml new file mode 100644 index 0000000000..2cb5150178 --- /dev/null +++ b/.github/workflows/feature-requests.yml @@ -0,0 +1,13 @@ +name: Feature request triage bot + +on: [workflow_dispatch] + +jobs: + feature_triage: + if: github.repository == 'angular/angular' + runs-on: ubuntu-latest + steps: + - uses: angular/dev-infra/github-actions/feature-request@ab1b92098e112b846e54a021458662b529276208 + with: + token: ${{ secrets.FEATURE_REQUEST_BOT_TOKEN }} + limit: 50