-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub provider env var namespace conflict #331
Comments
SGTM. This would be a breaking change though. |
@pchinjr, out of curiosity, where did you have your I started out having them already set through the web UI but GitHub Actions were failing and just completely blocked the pipeline. For context, mine is a Deno 2/Fresh project using I'm new to this and may be missing something, but after testing a bit, as well as with the workaround above, it looks like:
My current setup for a Deno Deploy project:
For the reasons above, I'm inclined to think that we don't really need them during build time if there is a way to detect that. |
@honmanyau I used a local .env file during development. You are correct that the build process will compile with an empty string, but will throw for @iuioiua I know you're not maintaining this anymore, but do you have advice for these solutions:
1 feels kind of hacky to pass the clientId check Thanks everyone, appreciate the discussion and collaboration. Cheers & Peace 🖖 |
@pchinjr Thank you so much for taking the time to respond and give additional details + suggestions! I'd thought that I hadn't seen the namespace collision because my setup was different (I only saw
Just wanted to quickly note that GitHub Actions are currently passing for me with that workaround. I absolutely agree that the it's super hacky far from ideal. |
yolo,
GITHUB_
is a reserved namespace in GitHub and is required by kv-oauth, my current work around is using Deno Deploy and setting the environment variable in the Deploy web console. The result is that every time GH Actions run, it will fail, but Deno Deploy is able to build and deploy successfully. This limits extending the Actions pipeline and splits the CI/CD management. Could the default env var be changed toGH_
to avoid this conflict?deno_kv_oauth/lib/create_github_oauth_config.ts
Line 31 in 24a2302
The text was updated successfully, but these errors were encountered: