1.2.3 • Published 9 months ago

@hero-design/snowflake-guard v1.2.3

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

@hero-design/snowflake-guard

A GitHub App built with Probot that analyzes PR changes and reports snowflake usage of Hero Design components.

Setup

  1. Copy .env.example to .env and asks Andromeda team for variable details.
cp .env.example .env
  1. Set up internal-tool-integrations service for the bot to store report.
  • Replace DB_HOST with the host of the internal-tool-integrations service.
  • Use the same SNOWFLAKE_GUARD_SECRET as 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.

  1. Install snowflake-guardDev(https://github.com/apps/hero-design-snowflake-guard-dev) to a repository that you wish to run the app on.

  2. Start internal-tool-integrations service.

  3. Start the bot.

# Install dependencies
yarn install

# Run the bot
yarn start
  1. 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.

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.0

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.12-alpha.0

11 months ago

1.0.11

11 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7-alpha0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago