Skip to content
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

fix go-git workdir permissions #47

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Conversation

szkiba
Copy link
Collaborator

@szkiba szkiba commented Aug 30, 2024

The go-git library used to checkout the source of extensions creates certain files readable only for the user. This makes it impossible to cache files created in GitHub action mode between workflow runs.

After the git operations, the workdir file permissions now will be fixed.

In the case of files, now the permission set to 0o644, in the case of a direcotry to 0o755.

@szkiba szkiba requested a review from a team as a code owner August 30, 2024 15:35
@szkiba szkiba requested review from pablochacin and removed request for a team August 30, 2024 15:35
@szkiba szkiba linked an issue Aug 30, 2024 that may be closed by this pull request
@szkiba szkiba removed the request for review from pablochacin August 30, 2024 15:35
@szkiba szkiba merged commit 66af04c into main Aug 30, 2024
5 checks passed
@szkiba szkiba deleted the 46-fix-go-git-workdir-permissions branch August 30, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix go-git workdir permissions
1 participant