Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(github-actions): add filesystem UID/GID fixer after action workspace modification#1262

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@codejedi365
Copy link
Contributor

@codejedi365codejedi365 commentedMay 25, 2025
edited
Loading

Purpose

  • Solves the issue with random file permissions errors after release

Rationale

I found that here on PSR we had some issues writing the partial tags occasionally after PSR had created a commit. I discovered that this was because while in the Docker container, the commit action had turned certain files within the git repository (which is mounted into the container) to root owned files. Then afterword if the sha1 for the tag matched the first few characters of the sha1 of the commit then it would collide and fail with permissions errors on the.git/objects/ folder.

How did you test?

I ran this on my repository fork with a full file listing of the.git/ directory. I could see in comparison to when this project released to after this fix was implemented how the file ownership was corrected fromroot:root torunner:docker.


PR Completion Checklist

  • Reviewed & followed theContributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow theConventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • N/AAppropriate Unit tests added/updated

  • N/AAppropriate End-to-End tests added/updated

  • N/AAppropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

@codejedi365codejedi365force-pushed thefix/gha-permissions-issues-in-container branch fromfe8a87e to57e1d2dCompareMay 25, 2025 22:51
@codejedi365codejedi365 merged commit93e23c8 intopython-semantic-release:masterMay 26, 2025
13 checks passed
@codejedi365codejedi365 deleted the fix/gha-permissions-issues-in-container branchMay 26, 2025 02:20
@codejedi365
Copy link
ContributorAuthor

🎉 This PR has been published as part of v10.0.2 🎉

You can find more information about this release on theGitHub Releases page.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@codejedi365

[8]ページ先頭

©2009-2025 Movatter.jp