Skip to content

Commit

Permalink
chore: add tab-view and flipper plugin to issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Nov 27, 2022
1 parent ac465f0 commit 6a5f6cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ body:
- label: Web
- label: Windows
- label: MacOS
validations:
required: true
- type: checkboxes
attributes:
label: Packages
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand All @@ -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}`);
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: contains(github.event.issue.labels.*.name, 'version-4')
Expand Down

0 comments on commit 6a5f6cb

Please sign in to comment.