-
Notifications
You must be signed in to change notification settings - Fork 47
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
SONATYPE_CREDENTIAL_HOST
unnecessarily redacted in github actions log
#730
Comments
Aha, this is annoying. Actually an admin should just remove this org-wide secret, we no longer use it. The original idea was to provide a quick way for an entire org to change from the legacy to s01 server without modifying every build.
I wonder if these can be set globally. The secret was a bad hack ... |
I'm pretty sure you can set an org wide variable: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables#creating-configuration-variables-for-an-organization |
Yes, org-wide environment variable is possible. I can find a reference to the secret in generated ci.yml -- is it going to break anything if we remove that? |
It's not, because we've already updated all the builds. sbt-typelevel now uses the s01 host by default, it no longer needs to be explicitly configured. |
Okay, I just migrated the secret to an environment variable, org wide. |
Thanks! Let's keep this issue open until we change sbt-typelevel to read this from the env instead of the secret, but Darren's immediate problem should be resolved. |
We'll know for sure next time a release is cut or a PR is merged... |
Not sure what can be done, but I was trying to figure out what resolver to add to use a snapshot build of sbt-typelevel and noticed that github automatically censored the resolver in the logs. Maybe moving it from a github action secret to a github action variable? Or possibly adding instructions to the readme? Though i feel fixing it in the logs is wise since that's the place you go to find the snapshot version.
https://github.com/typelevel/sbt-typelevel/actions/runs/10229951814/attempts/1#summary-28304287162
The text was updated successfully, but these errors were encountered: