@hero-design/snowflake-guard v1.3.7
@hero-design/snowflake-guard
A GitHub App built with Probot that analyzes PR changes and reports snowflake usage of Hero Design components.
Setup
- Copy
.env.exampleto.envand asks Andromeda team for variable details.
cp .env.example .envFor React Native projects, include your repo name in the MOBILE_REPO_NAMES env.
- Set up internal-tool-integrations service for the bot to store report.
- Replace
DB_HOSTwith the host of the internal-tool-integrations service. - Use the same
SNOWFLAKE_GUARD_SECRETas the one in the internal-tool-integrations service.
In case you don't want to store snowflake report, comment out the saving report section in src/index.ts.
Install snowflake-guardDev(https://github.com/apps/hero-design-snowflake-guard-dev) to a repository that you wish to run the app on.
Start
internal-tool-integrationsservice.Start the bot.
# Install dependencies
yarn install
# Run the bot
yarn start- Open or update a pull request to trigger webhook events.
Note
This bot does not support hot-reload yet, please restart the app once you make any changes to the code.
6 months ago
6 months ago
8 months ago
12 months ago
8 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago