react-native/bots
Héctor Ramos d002d30325 Danger, be nice to PRs. (#23334)
Summary:
Changed Danger's config so that it provides advice whenever it finds an issue with the pull request template, instead of posting a warning.

Updated Danger several major versions, from 2 to 7. I worked through any breaking changes, which were minimal (change `yarn danger` to `yarn danger ci`).

Added a flag to have Danger post these messages as GitHub Checks instead of as a comment. This slightly buries Danger's output, as it's no longer posted as a comment, but I believe it integrates more nicely into the GitHub interface.

[GENERAL] [Changed] - GitHub-only change: updated Danger config to be nicer to PRs
Pull Request resolved: https://github.com/facebook/react-native/pull/23334

Differential Revision: D14002313

Pulled By: cpojer

fbshipit-source-id: b97ca7b7bd164646b249b7c64b1134306e0f38a8
2019-02-08 03:36:58 -08:00
..
.babelrc Move danger to bots directory 2018-01-31 16:42:41 -08:00
IssueCommands.txt Update IssueCommands.txt 2018-05-07 14:30:32 -07:00
README.md Update danger token 2018-02-27 10:01:40 -08:00
dangerfile.js Danger, be nice to PRs. (#23334) 2019-02-08 03:36:58 -08:00
package.json Danger, be nice to PRs. (#23334) 2019-02-08 03:36:58 -08:00
yarn.lock Danger, be nice to PRs. (#23334) 2019-02-08 03:36:58 -08:00

README.md

GitHub bots, such as the Danger bot, as well as messages used by the Facebook GitHub bot are all configured in this directory/

Danger

We use Danger JS to perform rudimentary maintenance on the React Native repository.

If you'd like to make changes to the Dangerfile, find an existing PR on the React Native repo and make note of the URL.

Then, run from the React Native root directory:

cd bots
npm install
..
node bots/node_modules/.bin/danger pr https://github.com/facebook/react-native/pull/1		

And you will get the responses from parsing the Dangerfile.