diff --git a/.github/label-actions.yml b/.github/label-actions.yml
index ee828d9e7e7b8b..e0636f4c614438 100644
--- a/.github/label-actions.yml
+++ b/.github/label-actions.yml
@@ -1,47 +1,52 @@
-# Configuration for Label Actions - https://github.com/dessant/label-actions
+# Configuration for Label Actions - https://github.com/marketplace/actions/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: >
-
:warning: |
- Missing Required Fields
- |
---|
:information_source: |
- It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. 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.
- |
- "Needs: Environment Info":
- comment: >
- :warning: |
- Missing Environment Information
- |
---|
:information_source: |
- Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.
- |
- "Needs: Verify on Latest Version":
- comment: >
- :warning: |
- Using Old Version
- |
---|
:information_source: |
- It looks like you are using an older version of React Native. Please upgrade 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.
- |
- "Needs: Repro":
- comment: >
- :warning: |
- Missing Reproducible Example
- |
---|
:information_source: |
- It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.
- |
+"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: >
+ :warning: |
+ Missing Required Fields
+ |
---|
:information_source: |
+ It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. 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.
+ |
+ labels:
+ - "Needs: Author Feedback"
+"Needs: Environment Info":
+ comment: >
+ :warning: |
+ Missing Environment Information
+ |
---|
:information_source: |
+ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.
+ |
+ labels:
+ - "Needs: Author Feedback"
+"Needs: Verify on Latest Version":
+ comment: >
+ :warning: |
+ Using Old Version
+ |
---|
:information_source: |
+ It looks like you are using an older version of React Native. Please upgrade 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.
+ |
+ labels:
+ - "Needs: Author Feedback"
+"Needs: Repro":
+ comment: >
+ :warning: |
+ Missing Reproducible Example
+ |
---|
:information_source: |
+ It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.
+ |
+ labels:
+ - "Needs: Author Feedback"
diff --git a/.github/workflows/process-label-actions.yml b/.github/workflows/process-label-actions.yml
new file mode 100644
index 00000000000000..2c63100f6e8392
--- /dev/null
+++ b/.github/workflows/process-label-actions.yml
@@ -0,0 +1,16 @@
+name: Label Actions
+# This workflow is triggered when a label is added to an issue.
+on:
+ issues:
+ types: labeled
+
+jobs:
+ processLabelAction:
+ name: Process Label Action
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Process Label Action
+ uses: hramos/label-actions@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}