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
Support automatic GitHub Packages permissions with platform token #17705
Comments
The docs would seem to indicate that yes (unless they are referring to Actions only?) |
Should this be reopened in the meantime? |
Hi, I'm wondering what the actual status of this is right now, since the relevant feature apparently was merged, reverted and merged again. Should this work now for the Github hosted renovate app (mend)? Because I'm unable to find a valid configuration for checking images hosted on ghcr.io, pushed from a private repository. I tried with/without username, with/without explicitly added PAT (encrypted) and with packageRules only. Thanks in advance! |
we rolled back the changes after some flows failed because of this feature. if you set the right |
Working on #25016 for ghcr.io first |
To keep this simple, we can perhaps configure a username/password hostRules entry for pkg.github.com and then a Basic token hostRules entry for npm.pkg.github.com and check if that works. |
PR: #25214 |
🎉 This issue has been resolved in version 37.25.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
The Renovate App currently doesn't ask for Packages permissions:
Before we ask for that permission (which will trigger a lot of permission notification emails) I want to make sure it works, ideally for both github.com and self-hosted GHES at the same time.
For github.com, it seems like *.pkg.github.com and ghcr.io are the relevant hosts which users would like to work. Do github tokens typically work for both? e.g. can we assume that if we have a github.com token it also might be valid for ghcr.io too?
If you have any ideas on how this should be implemented, please tell us here.
Might need addition of new hostRules as part of initPlatform()
Is this a feature you are interested in implementing yourself?
Maybe
The text was updated successfully, but these errors were encountered: