react-native-macos/packages/react-native-bots
Nicola Corti 0a84952ce5 Cleanup the commitlies code (#38889)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38889

As we don't really use the commitlies code in CircleCI, I'm cleaning up some of the code used to publish artifacts to the user.

Changelog:
[Internal] [Changed] - Cleanup the commitlies code

Reviewed By: cipolleschi

Differential Revision: D48189398

fbshipit-source-id: c4591ee290eba49224322d44a32052ff292ccbed
2023-08-09 09:23:14 -07:00
..
.babelrc Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
README.md Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
code-analysis-bot.js Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
dangerfile.js Do not run OSS changelog validator on diffs exported from Phabricator (#36994) 2023-04-20 10:11:43 -07:00
datastore.js Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
make-comment.js Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
package.json Update Node.js to v18 in all RN packages (#37791) 2023-06-22 09:53:21 -07:00
report-bundle-size.js Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00

README.md

Danger

Danger is a JavaScript runtime which helps you provide continuous feedback inside GitHub. It's used inside Github Actions 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 Public Access Token (PAT). It will look like ghp_<REDACTED>.

So, for example:

DANGER_GITHUB_API_TOKEN=ghp_<REDACTED> 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