-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
pulling remote actions with +x scripts fails with Permission denied
on Windows
#2625
Comments
Now experiencing the same error , using reviewdog/action-eslint@v1 getting |
I'm getting the same error, when using
|
Same issue here |
One way I found that I could temporarily fix the issue is to modify the action repo when executing the script to execute it with |
iff you are not using docker actions, you could enable Yes the workdir on windows, has not the ability to preserve the executable bit |
This is not an inherent issue with Git on Windows! When running git clone manually, followed by git diff, there is no difference, as opposed to the thing we see here. Refer to the upstream issue I linked above for detials |
I want to provide you some insights, this issue is not related to any bug of go-git or git for windows Just make the step act does yourself on windows
What I have done outside of act was, ask git for windows for the unix mask and merge it with the data of your disk. I no longer remember what I did in act for the workdir. This is a design issue of the action-cache Now using cli feature toggle
As far I know, git ignores the |
Is there a way to inject a custom command when executing a docker cmd script? Is there a planned resolution for the issue? |
No, you need to add it to your yaml and add an
I had a plan last year between 30. October 2024 - 20. December (yes this predates this issue) see #2509. EDIT fixed year to 2024 |
If you need help in code reviews or testing features, you can sure tag me. Sometimes, I want to relax reading code and issues. 😉 |
Update starting with upcoming act Just add |
Bug report info
Command used with act
Describe issue
My workflow uses the custom action
rlespinasse/github-slug-action@v5
.When running the step, this happens:
During troubleshooting, I recognized that, immediately after
clone
ing the action's repository,git diff
from inside~/.cache/act/rlespinasse-github-slug-action@v5
shows the following:When following the trail, I found that this go-git issue describes what's going on, so it really seems to be an upstream issue.
The workflow below is the MRE, thus doesn't do anything useful.
Link to GitHub repository
private
Workflow content
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: