Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

feat: read from env #639

Merged
merged 7 commits into from
Aug 26, 2023
Merged

feat: read from env #639

merged 7 commits into from
Aug 26, 2023

Conversation

EtherealGlow
Copy link
Contributor

Resolves #619

@netlify
Copy link

netlify bot commented Aug 19, 2023

Deploy Preview for ubiquibot-staging ready!

Name Link
🔨 Latest commit 9c50296
🔍 Latest deploy log https://app.netlify.com/sites/ubiquibot-staging/deploys/64ea16900507dc00087bedc2
😎 Deploy Preview https://deploy-preview-639--ubiquibot-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@whilefoo whilefoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we are reading from env I think it's better to put these variables in the loadConfig but leave the default values in this file

@EtherealGlow
Copy link
Contributor Author

Doesn't load config function return object of type bot config or am I getting confused

@whilefoo
Copy link
Collaborator

yes but this is internal bot config, not like ubiquibot-config.yaml

@EtherealGlow
Copy link
Contributor Author

i didnt exactly understand the spec

@EtherealGlow EtherealGlow requested a review from whilefoo August 22, 2023 16:51
src/bindings/config.ts Outdated Show resolved Hide resolved
src/helpers/issue.ts Show resolved Hide resolved
@EtherealGlow EtherealGlow requested a review from whilefoo August 24, 2023 15:54
src/types/config.ts Outdated Show resolved Hide resolved
src/types/config.ts Outdated Show resolved Hide resolved
@EtherealGlow EtherealGlow requested a review from whilefoo August 26, 2023 07:35
@0x4007 0x4007 merged commit e65672b into ubiquity:development Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Read DEFAULT_TIME_RANGE_FOR_MAX_ISSUE from env
3 participants