From 61b52a337e0a471b92ab85bc6e49162b4524d13e Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 12 Jul 2023 09:14:30 +0200 Subject: [PATCH] chore: add a bug template for browsers (#10543) --- .github/ISSUE_TEMPLATE/bug.yml | 6 +++--- .github/ISSUE_TEMPLATE/issue-browsers.yml | 4 ++++ .github/workflows/issue-analyzer.yml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/issue-browsers.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index ffe5ffcda8d..a9a0cf04cdf 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -108,7 +108,7 @@ body: label: Puppeteer version description: > What version of Puppeteer are you running? *This must be a valid semver - tag.* + tag, for example, `20.8.1`.* validations: required: true - id: node-version @@ -117,7 +117,7 @@ body: label: Node version description: > What supported version of Node.js are you running? *This must be a valid - semver tag.* + semver tag, for example, `20.3.1`.* validations: required: true - id: pkg-mgr @@ -137,7 +137,7 @@ body: label: Package manager version description: > What version of the package manager are you running? *This must be a - valid semver tag.* + valid semver tag, for example, `9.6.7`.* validations: required: true - id: operating-system diff --git a/.github/ISSUE_TEMPLATE/issue-browsers.yml b/.github/ISSUE_TEMPLATE/issue-browsers.yml new file mode 100644 index 00000000000..71d8c0d7501 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-browsers.yml @@ -0,0 +1,4 @@ +name: Bug for @puppeteer/browsers +description: File a bug report specifically about the `@puppeteer/browsers` package. +title: '[Bug]: ' +labels: [bug, '@puppeteer/browsers'] diff --git a/.github/workflows/issue-analyzer.yml b/.github/workflows/issue-analyzer.yml index b4ad46ce84c..1d0fdbca730 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') && 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') && github.event.issue.number > 9481 }} env: ISSUE_BODY: ${{ toJson(github.event.issue.body) }} outputs: