mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Adds "Needs: Author Feedback" if "Needs: Repro" is applied
Summary: As the title says, if we discover that an issue needs a repro, then we should also apply the "Needs: Author Feedback" as that will make the issue stale quicker (30 days) rather than (90) Changelog: [Internal] [Changed] - Adds "Needs: Author Feedback" if "Needs: Repro" is applied Reviewed By: NickGerleman Differential Revision: D51895945 fbshipit-source-id: 3ed651aec96795ada3e7c28b0f1e68d68f7fc870
This commit is contained in:
parent
18f8a53d85
commit
38d07eb284
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
const NEEDS_REPRO_LABEL = 'Needs: Repro';
|
||||
const NEEDS_AUTHOR_FEEDBACK_LABEL = 'Needs: Author Feedback';
|
||||
const NEEDS_REPRO_HEADER = 'Missing Reproducible Example';
|
||||
const NEEDS_REPRO_MESSAGE =
|
||||
`| :warning: | Missing Reproducible Example |\n` +
|
||||
@ -83,7 +84,7 @@ module.exports = async (github, context) => {
|
||||
} else {
|
||||
await github.rest.issues.addLabels({
|
||||
...issueData,
|
||||
labels: [NEEDS_REPRO_LABEL],
|
||||
labels: [NEEDS_REPRO_LABEL, NEEDS_AUTHOR_FEEDBACK_LABEL],
|
||||
});
|
||||
|
||||
if (botComment) return;
|
||||
|
Loading…
Reference in New Issue
Block a user