react-native-macos/bots
Tommy Nguyen de8fcfb4cb Address @octokit/rest deprecation warnings (#28050)
Summary:
Addresses deprecation warnings from `octokit/rest`. This is a follow up to https://github.com/facebook/react-native/issues/28019.

## Changelog

[Internal] [Fixed] - Address deprecation warnings from `octokit/rest`
Pull Request resolved: https://github.com/facebook/react-native/pull/28050

Test Plan: PRs should still get app bundle sizes report, but the warnings in the build logs should be gone.

Reviewed By: cpojer

Differential Revision: D20008805

Pulled By: hramos

fbshipit-source-id: 891d14fd9d55f217194a095d2736494416dacda2
2020-02-20 15:21:21 -08:00
..
.babelrc Move danger to bots directory 2018-01-31 16:42:41 -08:00
README.md Bots cleanup, avoid leaving inline reviews when N>5 (#24923) 2019-05-21 19:38:54 -07:00
code-analysis-bot.js Address @octokit/rest deprecation warnings (#28050) 2020-02-20 15:21:21 -08:00
dangerfile.js Bots cleanup, avoid leaving inline reviews when N>5 (#24923) 2019-05-21 19:38:54 -07:00
make-comment.js Address @octokit/rest deprecation warnings (#28050) 2020-02-20 15:21:21 -08:00
package.json Report size of app bundles on PRs (#28041) 2020-02-12 22:21:00 -08:00
yarn.lock Report size of app bundles on PRs (#28041) 2020-02-12 22:21:00 -08:00

README.md

Danger

Danger is a JavaScript runtime which helps you provide continuous feedback inside GitHub. It's used by @pull-bot to analyze the contents of a GitHub pull request.

If you want to test changes to Danger, I'd recommend checking out an existing PR and then running the danger pr command. You'll need a GitHub token. You can re-use this one: a6edf8e8d40ce4e8b11a 150e1341f4dd9c944d2a (just remove the space). So, for example:

DANGER_GITHUB_API_TOKEN=[ENV_ABOVE] yarn danger pr https://github.com/facebook/react-native/pull/1234

Code Analysis Bot

The code analysis bot provides lint and other results as inline reviews on GitHub. It runs as part of the Circle CI analysis workflow.

If you want to test changes to the Code Analysis Bot, I'd recommend checking out an existing PR and then running the analyze pr command. You'll need a GitHub token. You can re-use this one: 78a72af35445ca3f8180 b1a98e0bbd56ff1ccba1 (just remove the space). So, for example:

GITHUB_TOKEN=[ENV_ABOVE] GITHUB_PR_NUMBER=1234 yarn lint-ci