Skip to content

Commit bef5fbf

Browse files
author
Olga Zinoveva
committed
updating version description field for new arch bug report form to be consistent with the regular bug report
1 parent 28030ae commit bef5fbf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/ISSUE_TEMPLATE/new_architecture_bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ body:
2222
id: version
2323
attributes:
2424
label: React Native Version
25-
description: What react-native version does this appear on? Please test against the latest stable version. Bug reports against older versions are more likely to stall.
26-
placeholder: ex. 0.68.0
25+
description: What is the latest version of react-native that this issue reproduces on? Please test against the latest stable version, and list only the highest version you tested. Bug reports against older versions are more likely to stall.
26+
placeholder: ex. 0.71.0
2727
validations:
2828
required: true
2929
- type: textarea

.github/workflows/verifyVersion.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ module.exports = async (github, context) => {
2929
// Ensure the version matches one we support
3030
const recentReleases = (
3131
await github.rest.repos.listReleases({
32-
owner: context.repo.owner,
33-
repo: context.repo.repo,
32+
owner: 'facebook',
33+
repo: 'react-native',
3434
})
3535
).data.map(release => release.name);
3636

3737
const latestRelease = (
3838
await github.rest.repos.getLatestRelease({
39-
owner: context.repo.owner,
40-
repo: context.repo.repo,
39+
owner: 'facebook',
40+
repo: 'react-native',
4141
})
4242
).data;
4343
const latestVersion = parseVersionFromString(latestRelease.name);

0 commit comments

Comments
 (0)