You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to check out a json file and a script that processes it.
The mode of the script is 775 (rwxrwxr-x).
Using actions/checkout this is of course also restored.
Not with the action. The checked out script file is non-executable. Of course I can set it with chmod u+x and use it in the job, but maybe this action can restore the mode bits?
Thank you for this action, even as it is it saves me a lot of CI time 👍
The text was updated successfully, but these errors were encountered:
This action is base on the Rest API to simply download the files trough the Rest API, it doesn't keep the permission since the file is created by nodejs and the API doesn't seems to return this information...
I don't have a simple solution for this, maybe Git trees could help.
Had a look at the Git tree API and it seems it provides the information:
I'm not sure it is worth the effort, though. In my use-case (I fetch some scripts I want to execute in the workflow) one can just chmod u+x *. But maybe worth mentioning that the mode is not restored on your main page.
I want to check out a json file and a script that processes it.
The mode of the script is 775 (
rwxrwxr-x
).Using
actions/checkout
this is of course also restored.Not with the action. The checked out script file is non-executable. Of course I can set it with
chmod u+x
and use it in the job, but maybe this action can restore the mode bits?Thank you for this action, even as it is it saves me a lot of CI time 👍
The text was updated successfully, but these errors were encountered: