Skip to content

feat: add env_var_prefix to support multiple providers setup#1

Draft
laughedelic wants to merge 1 commit intofeat/auth-mode-reworkfrom
feat/env-var-prefix
Draft

feat: add env_var_prefix to support multiple providers setup#1
laughedelic wants to merge 1 commit intofeat/auth-mode-reworkfrom
feat/env-var-prefix

Conversation

@laughedelic
Copy link
Copy Markdown
Owner

This allows configuring the provider to read environment variables with a
custom prefix instead of the default GITHUB_ prefix. Useful for managing multiple provider instances with different credentials via environment variables. When set, only variables with the specified prefix are used.


Before the change?

Provider configuration fields could be only read from the env vars with the GITHUB_ prefix.

After the change?

  • Now the prefix is configurable, enabling configuring multiple instances of the provider fully via env vars.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • No

This allows configuring the provider to read environment variables with
a
custom prefix instead of the default GITHUB_ prefix. Useful for managing
multiple provider instances with different credentials via environment
variables. When set, only variables with the specified prefix are used.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 2, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant