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

Reset .git owner after terraform-docs #106

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Reset .git owner after terraform-docs #106

merged 2 commits into from
Dec 3, 2024

Conversation

cmbuckley
Copy link
Member

@cmbuckley cmbuckley commented Dec 2, 2024

terraform-docs runs in a container, and for suitably small repositories it can end up creating .git/objects which are owned by root. This resets the ownership back to the runner user.

See terraform-docs/gh-actions#90

cmbuckley and others added 2 commits December 2, 2024 13:38
terraform-docs runs in a container, and for suitably small repositories
it can end up creating .git/objects which are owned by root. This resets
the ownership back to the runner user.

See terraform-docs/gh-actions#90
Copy link

@chrisbloe-nhse chrisbloe-nhse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine.

Copy link

@chrisbloe-nhse chrisbloe-nhse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine :).

Copy link

@chrisbloe chrisbloe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine :)

@cmbuckley cmbuckley merged commit 0d124fa into main Dec 3, 2024
@cmbuckley cmbuckley deleted the git-objects-fix branch December 3, 2024 11:06
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.

3 participants