Open jamietanna opened 1 year ago
It looks like https://github.com/renovatebot/github-action/blob/d7c9fe4fd76644e3acba0da8fe63756bac210d94/src/renovate.ts#L20 is the line we'd want to change
@jamietanna were you able to work past this?
@Akaame we are working around that like this:
- run: sudo chown -R 1000 /tmp/renovate
- // Run renovate
- run: sudo chown -R $(whoami) /tmp/renovate
Due to the size of our organisation, the recommendation from the Renovate team was to use Mend Renovate On-Prem (which is free!) and much less costly for our usages, and has its own means to do caching
@GSala thanks this is what we also ended up doing.
v35 will use current host user id and use binarySource=install
Need to revert the default user change because of
When using GitHub Actions' caching functionality, Renovate ends up hitting an
EACCESS
when trying to write to the restored cache keys.A failing job with workflow definition reports the following error on subsequent runs:
It appears that:
May be at fault, as running
id -u
outside of the Renovate runner shows:Whereas we're trying to use the uid
1000
, which doesn't match, and is therefore denied from reading the files: