mirror of
https://github.com/xuexb/github-bot.git
synced 2025-12-08 17:36:07 +00:00
* feat: fix some eslint bug * feat: add logger system feature close #26 * feat: divide log into different types * fix: errors log write bug * fix: remove unuse console.log * feat: add pm2 support * feat: make logger type configurable * fix: remove unuse test code
11 lines
322 B
Plaintext
Executable File
11 lines
322 B
Plaintext
Executable File
# rename this file to .env
|
|
|
|
# Bot's personal access tokens, get from https://github.com/settings/tokens
|
|
GITHUB_TOKEN=token
|
|
|
|
# Webhook secret token, see https://developer.github.com/webhooks/securing/
|
|
GITHUB_SECRET_TOKEN=secret
|
|
|
|
# Logger type: default is console, if you want write log to file, set 'file'
|
|
LOG_TYPE=console
|