Closed pietrobolcato closed 1 year ago
I'm not sure why this change would be needed in act, when it is not required in GitHub actions? To my knowledge act uses the same docker images, so whether the file has execution rights or not, should result in the same in both environments?
To me this sounds like an act
bug.
Thanks for the PR :slightly_smiling_face:
If the script isn't executable, would it be enough to chmod
it locally and commit it? I can test with act
after work today.
Looks like we also have some existing tests failing, but that seems unrelated.
Great find! Let us know once you tried it out, thank you!
You're welcome to try it out if you'd like😊
I think it can be closed now, can't it? Anyway if it works on Github Actions and not in act, it's totally a bug in act, and that need to be fixed in act.
Yep think you're right
When testing the action locally using act, it returns
/var/run/act/workflow/1-composite-0.sh: line 2: /var/run/act/actions/snok-install-poetry@v1.3.3/main.sh: Permission denied
This commit fixes the issue by setting the execution permission on the main installer script