-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable label-actions on the react-native repository (#28374)
Summary: Enhance our issue management workflow by having the bot respond automatically whenever a label is applied to the issue. ## Changelog [Internal] - CI Pull Request resolved: #28374 Test Plan: Not tested. If needed, could be applied to a different, test repository. Reviewed By: cpojer Differential Revision: D20606887 Pulled By: hramos fbshipit-source-id: 874d1464527ea76bf51394a7d3e98e4fd8f69345
- Loading branch information
1 parent
44f213b
commit 7dff0f4
Showing
2 changed files
with
50 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Configuration for Label Actions - https://github.com/dessant/label-actions | ||
|
||
# Configuration settings just for issues | ||
issues: | ||
actions: | ||
"Type: Invalid": | ||
close: true | ||
"Type: Question": | ||
comment: > | ||
We are using GitHub issues exclusively to track bugs in React Native. GitHub may not be the ideal place to ask a question, but you can try asking over on [Stack Overflow](http://stackoverflow.com/questions/tagged/react-native), or on [Reactiflux](https://www.reactiflux.com/). | ||
close: true | ||
"Type: Docs": | ||
comment: > | ||
Please report documentation issues in the [`react-native-website`](https://github.com/facebook/react-native-website/issues) repository. | ||
close: true | ||
"Resolution: For Stack Overflow": | ||
comment: > | ||
We are using GitHub issues exclusively to track bugs in the core React Native library. Please try asking over on [Stack Overflow](http://stackoverflow.com/questions/tagged/react-native) as it is better suited for this type of question. | ||
close: true | ||
"Needs: Issue Template": | ||
comment: > | ||
<table><tbody><tr><th width="50">⚠️</th><th width="100%"> | ||
Missing Required Fields | ||
</th></tr><tr><td>ℹ️</td><td> | ||
It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a [new issue is created](https://github.com/facebook/react-native/issues/new?template=bug_report.md). Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one. | ||
</td></tr></tbody></table> | ||
comment: > | ||
<table><tbody><tr><th width="50">⚠️</th><th width="100%"> | ||
Missing Environment Information | ||
</th></tr><tr><td>ℹ️</td><td> | ||
Your issue may be missing information about your development environment. You can obtain the missing information by running <code>react-native info</code> in a console. | ||
</td></tr></tbody></table> | ||
"Needs: Verify on Latest Version": | ||
comment: > | ||
<table><tbody><tr><th width="50">⚠️</th><th width="100%"> | ||
Using Old Version | ||
</th></tr><tr><td>ℹ️</td><td> | ||
It looks like you are using an older version of React Native. Please [upgrade](https://reactnative.dev/docs/upgrading) to the latest version, and verify if the issue persists. If it does not, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the current release. | ||
</td></tr></tbody></table> |