mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prevent @react-native-bot from double posting on missing reproducer (#47427)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47427 I've noticed that react-native-bot posts twice once we can't find a reproducer. (see here: https://github.com/facebook/react-native/issues/47421) This fixes it by letting it post only once. Changelog: [Internal] [Changed] - Prevent react-native-bot from double posting on missing reproducer Reviewed By: mdvacca Differential Revision: D65485634 fbshipit-source-id: dbe9b1311aef246dead6d9b922c1256363e894f7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bbe714e487
commit
d2a91617da
@@ -10,11 +10,6 @@
|
||||
module.exports = async (github, context) => {
|
||||
const issue = context.payload.issue;
|
||||
|
||||
// Ignore issues using upgrade template (they use a special label)
|
||||
if (issue.labels.find(label => label.name === 'Type: Upgrade Issue')) {
|
||||
return;
|
||||
}
|
||||
|
||||
const issueVersionUnparsed =
|
||||
getReactNativeVersionFromIssueBodyIfExists(issue);
|
||||
const issueVersion = parseVersionFromString(issueVersionUnparsed);
|
||||
|
||||
Reference in New Issue
Block a user