react-native-macos/.github
Olga Zinoveva 26b2bb5343 Add automatic RN version checking workflow (#36075)
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: https://github.com/facebook/react-native/pull/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
2023-02-22 21:26:36 -08:00
..
ISSUE_TEMPLATE Add automatic RN version checking workflow (#36075) 2023-02-22 21:26:36 -08:00
workflows Add automatic RN version checking workflow (#36075) 2023-02-22 21:26:36 -08:00
CODEOWNERS Fix missing renames from bots to react-native-bots (#34713) 2022-09-16 12:41:06 -07:00
ISSUE_TEMPLATE.md Issues without any template will get closed (#27996) 2020-02-07 17:55:52 -08:00
PULL_REQUEST_TEMPLATE.md fix(internal, dangerfile): fix changelog entries for dangerfiles and PR template (#35541) 2022-12-05 02:38:42 -08:00
RELEASE_TEMPLATE.md Circle CI: Create GiHub Release draft when bumping version 2022-07-14 13:42:08 -07:00
SUPPORT.md Fix reactiflux url (#30709) 2021-01-14 14:58:10 -08:00