Skip to content

Commit

Permalink
Update probot configuration for production
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
  • Loading branch information
klutchell committed Dec 6, 2024
1 parent 531a21c commit 7e3c998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN HUSKY=0 npm ci --omit=dev && npm cache clean --force

COPY . ./

# https://probot.github.io/docs/configuration/
ENV NODE_ENV="production"

RUN npm run build
Expand Down
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,15 @@ docker run --env-file .env deploynaut

## Environment Variables

Probot configuration variables are documented [here](https://probot.github.io/docs/configuration/).

Additional environment variables specific to this app:

- `BYPASS_ACTORS`: A comma-separated list of GitHub user IDs to bypass the approval process.

For users, you can find the ID by visiting `https://api.github.com/users/<username>`
For apps, you can find the ID by visiting `https://api.github.com/users/<app-name>%5Bbot%5D`

```shell
# https://api.github.com/users/flowzone-app%5Bbot%5D
# https://api.github.com/users/balena-renovate%5Bbot%5D
BYPASS_ACTORS=124931076,133977723
```

- `APP_ID`: The ID of the GitHub App.
- `PRIVATE_KEY`: The private key of the GitHub App.
- `WEBHOOK_SECRET`: The secret used to verify the authenticity of the webhook.
- `WEBHOOK_PROXY_URL`: The URL to proxy the webhook to.
- `LOG_LEVEL`: Defaults to `info`.

## Contributing

If you have suggestions for how deploynaut could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
Expand Down

0 comments on commit 7e3c998

Please sign in to comment.