Hi team,
We are facing issues using the checkout action in v4 and v6 when needing to checkout multiple repos as follows, on gitea runner:
Run actions/checkout@v6
5s
Synng repository:
Getting Git version info
Copying '/home//.gitconfig' to '/home//.cache/act/5a2af42af7397888/tmp/547abba8-d331-4e18-9d9e-39c09f8c1d46/.gitconfig'
Temporarily overriding HOME='/home//.cache/act/5a2af42af7397888/tmp/547abba8-d331-4e18-9d9e-39c09f8c1d46' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home//.cache/act/5a2af42af7397888/hostexecutor
Deleting the contents of '/home//.cache/act/5a2af42af7397888/hostexecutor'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format=%H
17299397b432e59c7f3f34868bb3e77e5d1c7654
Run actions/checkout@v6
0s
❌ Failure - Main actions/checkout@v6
open /home/***/.cache/act/5a2af42af7397888/act/actions/637d35d91d82f1d3b75173f11076308c1ab4bc2167fb475860e9bee81f3b520c/.git/objects/pack/pack-0061658929acf3a18da910bdfd3a272736d91587.idx: permission denied
But it works perfectly fine in v4.2.2. At first glance I'd suggest that it comes from: #2305
Hi team,
We are facing issues using the checkout action in v4 and v6 when needing to checkout multiple repos as follows, on gitea runner:
Run actions/checkout@v6
5s
Synng repository:
Getting Git version info
Copying '/home//.gitconfig' to '/home//.cache/act/5a2af42af7397888/tmp/547abba8-d331-4e18-9d9e-39c09f8c1d46/.gitconfig'
Temporarily overriding HOME='/home//.cache/act/5a2af42af7397888/tmp/547abba8-d331-4e18-9d9e-39c09f8c1d46' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home//.cache/act/5a2af42af7397888/hostexecutor
Deleting the contents of '/home//.cache/act/5a2af42af7397888/hostexecutor'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format=%H
17299397b432e59c7f3f34868bb3e77e5d1c7654
Run actions/checkout@v6
0s
❌ Failure - Main actions/checkout@v6
open /home/***/.cache/act/5a2af42af7397888/act/actions/637d35d91d82f1d3b75173f11076308c1ab4bc2167fb475860e9bee81f3b520c/.git/objects/pack/pack-0061658929acf3a18da910bdfd3a272736d91587.idx: permission denied
But it works perfectly fine in v4.2.2. At first glance I'd suggest that it comes from: #2305