86491749ee
Summary: CircleCI stopped populating `CIRCLE_PULL_REQUEST` without providing an alternative, so now it's impossible to get the PR number unless it comes from a forked repo. ## Changelog [Internal] [Fixed] - ignore bundle size reporter failures Pull Request resolved: https://github.com/facebook/react-native/pull/32490 Test Plan: CI should ignore bundle size reporter failures. Reviewed By: fkgozali Differential Revision: D32008694 Pulled By: lunaleaps fbshipit-source-id: 68e25ac2fbb23c1d7a55e667c90aec3a61302b8a |
||
---|---|---|
.. | ||
.babelrc | ||
README.md | ||
code-analysis-bot.js | ||
dangerfile.js | ||
datastore.js | ||
make-comment.js | ||
package.json | ||
post-artifacts-link.js | ||
report-bundle-size.js | ||
yarn.lock |
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: 312d354b5c36f082cfe9
07973d757026bdd9f196
(just remove the space).
So, for example:
GITHUB_TOKEN=[ENV_ABOVE] GITHUB_PR_NUMBER=1234 yarn lint-ci