From acf1518deb5597d881304ad33a226588e040f46e Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Tue, 2 Jan 2024 10:58:20 +0100 Subject: [PATCH] chore: add an issue template for ng-schematics (#11603) --- .github/ISSUE_TEMPLATE/bug.yml | 5 ++- .../ISSUE_TEMPLATE/issue-ng-schematics.yml | 42 +++++++++++++++++++ .github/workflows/issue-analyzer.yml | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/issue-ng-schematics.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index b12bdda4170..d35d36856d9 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,5 +1,5 @@ name: Bug report -description: File a bug report +description: File a bug report for puppeteer or puppeteer-core title: '[Bug]: ' labels: [bug] body: @@ -11,6 +11,9 @@ body: **Before filling out this report**, please check our [Troubleshooting](https://pptr.dev/troubleshooting) guide for solutions to common issues. + + If your issue is not about `puppeteer` or `puppeteer-core` packages, check out + other issue templates at https://github.com/puppeteer/puppeteer/issues/new/choose. - id: mvce type: textarea attributes: diff --git a/.github/ISSUE_TEMPLATE/issue-ng-schematics.yml b/.github/ISSUE_TEMPLATE/issue-ng-schematics.yml new file mode 100644 index 00000000000..9b2d35c5bc2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-ng-schematics.yml @@ -0,0 +1,42 @@ +name: Bug for @puppeteer/ng-schematics +description: File a bug report specifically about the `@puppeteer/ng-schematics` package. +title: '[Bug]: ' +labels: [bug, '@puppeteer/ng-schematics'] +body: + - type: textarea + id: summary + attributes: + label: Steps to reproduce + description: Please describe steps to reproduce the issue. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected results + description: What is the behaviour you expect. + validations: + required: true + - type: textarea + id: actual + attributes: + label: Actual results + description: What is the observed behaviour. + validations: + required: true + - id: ng-schematics-version + type: input + attributes: + label: '@puppeteer/ng-schematics version' + description: > + For example, `0.5.5` + validations: + required: true + - id: ng-version + type: textarea + attributes: + label: Angular CLI version + description: > + Paste the output of `ng version` here. + validations: + required: true diff --git a/.github/workflows/issue-analyzer.yml b/.github/workflows/issue-analyzer.yml index dfa1cf3c81b..5962a7aef40 100644 --- a/.github/workflows/issue-analyzer.yml +++ b/.github/workflows/issue-analyzer.yml @@ -14,7 +14,7 @@ jobs: analyze-issue: name: Analyze Issues runs-on: ubuntu-latest - if: ${{ contains(github.event.issue.labels.*.name, 'bug') && !contains(github.event.issue.labels.*.name, 'disable-analyzer') && !contains(github.event.issue.labels.*.name, 'confirmed') && !contains(github.event.issue.labels.*.name, '@puppeteer/browsers') && github.event.issue.number > 9481 }} + if: ${{ contains(github.event.issue.labels.*.name, 'bug') && !contains(github.event.issue.labels.*.name, 'disable-analyzer') && !contains(github.event.issue.labels.*.name, 'confirmed') && !contains(github.event.issue.labels.*.name, '@puppeteer/browsers') && !contains(github.event.issue.labels.*.name, '@puppeteer/ng-schematics') && github.event.issue.number > 9481 }} env: ISSUE_BODY: ${{ toJson(github.event.issue.body) }} outputs: