Comments (4)
Ok, I got it, the checkout is done outside of the container and hence owned by 1001, adding options: --user 1001
to the container:
block, seems like a good workaround.
from checkout.
Relevant again after Git 2.35.2 safe.directory
feature:
from checkout.
Glad you got this working - unfortunately, the docker containers can run as any user (as specified by the USER
option in the Dockerfile) so there's very little control that we have over this. I'm going to close this issue, but if you have additional feedback, please see the GitHub Actions forum or contact us.
from checkout.
The problem is that the workaround above leads to other issues as the special user in the container had sudo rights, but of course, using a different user will not have that anymore.
from checkout.
Related Issues (20)
- Encounter Error /home/runner/work/_temp/...: app: No such file or directory During GitHub Actions Workflow
- Error: ENOENT: no such file or directory, mkdir
- Checkout Commit instead of latest tag (on release)
- problem with eiface.h HOT 2
- All files are checked out even sparse-checkout option for single file HOT 3
- Checkout V3 fails in self-hosted runner on ubuntu VM with git permissions HOT 2
- Not able to checkout private repositories
- Could not setup PHP 8.3 HOT 1
- How to optimise checkout of a monorepo? HOT 2
- checkout@v4 occasionally stuck on checkout HOT 2
- question: checkout be used without owner/repo ?
- Unable to resolve action `actions/checkout@v4`, unable to find version `v4` HOT 2
- Error: Command failed: rm -rf /home/docker/actions-runner/_work/Devbuntu/Devbuntu/scripts HOT 1
- workflow action with submodule checkout failing HOT 2
- Using on Raspberry Pi 4 arm cause "GLIBCXX_3.4.26 not found" HOT 2
- Suddenly an error started to appear -- EACCES: permission denied, unlink
- Authentication with Github App HOT 1
- https://github.com/w3c/aria-practices/issues/2804#issuecomment-1725035062Open on Skillz game Launcher 🎮 🎮 HOT 2
- The v4.0.0 tag was changed after release HOT 2
- doc: Tags, forks and pull-requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout.