-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add automatic RN version checking workflow #36075
Conversation
Base commit: c5bc3f1 |
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
2 similar comments
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few comments, overall I like the refactoring - thanks for working on this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a great improvement - we'll just need to keep an eye on the situation to see how the community reacts to the changes.
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
/rebase |
309d1fc
to
4cc2293
Compare
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
… of RN listed in the issue is supported. also, refactoring the existing label actions workflow to also support the addition of the RN version verifier. editing the two issue templates slightly to make the version match regex more reliable
… consistent with the regular bug report
4cc2293
to
4f4eac0
Compare
@SlyCaptainFlint has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@SlyCaptainFlint merged this pull request in 26b2bb5. |
Summary: Adding automatic RN version checking github workflow, which will verify the version of RN listed on all new issues filed in the repository. Additionally, this change refactors the existing labeler workflow to make it re-usable by the version check workflow. The change also creates a logical place to add future automatic detection checks, like auto-verification of repro, template, etc. This is technically not new functionality, as the react-native-bot does this _sometimes_, but this should be a lot more reliable. The logic for valid release checking follows what is listed in the documentation - valid versions are current and N-2 minors, with the highest available patches. ## Changelog [INTERNAL] [FIXED] - Made the automated RN version checking workflow more reliable Pull Request resolved: facebook#36075 Test Plan: I have verified a variety of different versions on issues here: https://github.com/SlyCaptainFlint/react-native/issues I have also re-verified all the tags that were previously handled by the labeler workflow, since I have refactored it. Please take a look at both the open and closed issues in the linked repo for examples. Reviewed By: cortinico Differential Revision: D43089150 Pulled By: SlyCaptainFlint fbshipit-source-id: 7da67f5cb2a4875f22e1f9e46d7ca07d43f3e135
Summary
Adding automatic RN version checking github workflow, which will verify the version of RN listed on all new issues filed in the repository.
Additionally, this change refactors the existing labeler workflow to make it re-usable by the version check workflow. The change also creates a logical place to add future automatic detection checks, like auto-verification of repro, template, etc.
This is technically not new functionality, as the react-native-bot does this sometimes, but this should be a lot more reliable.
The logic for valid release checking follows what is listed in the documentation - valid versions are current and N-2 minors, with the highest available patches.
Changelog
[INTERNAL] [FIXED] - Made the automated RN version checking workflow more reliable
Test Plan
I have verified a variety of different versions on issues here: https://github.com/SlyCaptainFlint/react-native/issues
I have also re-verified all the tags that were previously handled by the labeler workflow, since I have refactored it. Please take a look at both the open and closed issues in the linked repo for examples.