react-native-macos/.github
SlyCaptainFlint 46fe963c4e Move close-pr workflow from react-native-bot to actions/github-script@v6 (#35500)
Summary:
This change adds a new action and workflow that will run whenever a commit is pushed that closes a PR via its message. When this happens, the corresponding PR will be labeled with "Merged" and a comment will be added with the name of the committer and the sha of the commit that resolved the PR.
This is not new functionality - it merely replaces a portion of the react-native-bot's functionality with a GitHub action.

## Changelog

[Internal] [Changed] - Moved close PR actions to a GitHub action

Pull Request resolved: https://github.com/facebook/react-native/pull/35500

Test Plan:
Tested the golden path here ("Merged" label and comment added): https://github.com/SlyCaptainFlint/react-native/pull/27
Tested the case where a PR already labeled with Merged was processed and no new comment was left on it (simulates the case where react-native-bot, which is still going to be running, got to the PR and processed it before the new GitHub action did): https://github.com/SlyCaptainFlint/react-native/pull/26

Reviewed By: cipolleschi

Differential Revision: D41567047

Pulled By: SlyCaptainFlint

fbshipit-source-id: 23745a17950b75c1a8f25f0b840c2172332c4cfa
2022-11-30 20:52:46 -08:00
..
ISSUE_TEMPLATE chore(issue templates): small tweaks + clear mention of support window (#35304) 2022-11-10 08:43:13 -08:00
workflows Move close-pr workflow from react-native-bot to actions/github-script@v6 (#35500) 2022-11-30 20:52:46 -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 (PULL_REQUEST_TEMPLATE) update link to changelog documentation (#34206) 2022-07-19 05:47:17 -07: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