From 6a5f6cb7e31c054c1a43ef1f709ace9456264927 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sun, 27 Nov 2022 19:55:51 +0100 Subject: [PATCH] chore: add tab-view and flipper plugin to issue template --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 ++---- .github/workflows/check-labels.yml | 4 +++- .github/workflows/versions.yml | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 73078fcee7..ea9b9925a4 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -59,8 +59,6 @@ body: - label: Web - label: Windows - label: MacOS - validations: - required: true - type: checkboxes attributes: label: Packages @@ -73,8 +71,8 @@ body: - label: '@react-navigation/​material-top-tabs' - label: '@react-navigation/​stack' - label: '@react-navigation/​native-stack' - validations: - required: true + - label: 'react-native-tab-view' + - label: 'flipper-plugin-react-navigation' - type: textarea attributes: label: Environment diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml index 689a03e578..804694e869 100644 --- a/.github/workflows/check-labels.yml +++ b/.github/workflows/check-labels.yml @@ -16,7 +16,7 @@ jobs: const body = context.payload.issue.body; const packages = Array.from( - body.matchAll(/- \[x\] @react-navigation​\/([\S]+)/gim) + body.matchAll(/- \[x\] (@react-navigation​\/([\S]+)|react-native-tab-view|flipper-plugin-react-navigation)/gim) ) .map((match) => match[1]) .filter((name) => @@ -27,6 +27,8 @@ jobs: 'material-top-tabs', 'stack', 'native-stack', + 'react-native-tab-view', + 'flipper-plugin-react-navigation', ].includes(name) ) .map((name) => `package:${name}`); diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index c6e501da46..654b876605 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -25,6 +25,8 @@ jobs: @react-navigation/material-top-tabs @react-navigation/routers @react-navigation/stack + react-native-tab-view + flipper-plugin-react-navigation - uses: react-navigation/check-versions-action@v1.0.0 if: contains(github.event.issue.labels.*.name, 'version-4')