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 for Git v2.35.2 (unsafe repository) #9

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

pcallewaert
Copy link
Contributor

Since the fix for https://github.blog/2022-04-12-git-security-vulnerability-announced/ the gems that were published by this action were empty.

The logs showed us this:

Building the gem
fatal: unsafe repository ('/github/workspace' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /github/workspace
WARNING:  licenses is empty, but is recommended.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  no files specified

I cheated and copied the fix from crowdin/github-action#115

With this patch it works again.

@pcallewaert pcallewaert changed the title Fix for Git v2.35.2 Fix for Git v2.35.2 (unsafe repository) Apr 14, 2022
@pcallewaert
Copy link
Contributor Author

I see there was already an issue opened, this should close #8

Copy link
Owner

@jstastny jstastny left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the fix!

@jstastny
Copy link
Owner

This is now part of v2.1.

manuelvanrijn added a commit to Jobport/bump-gem-version-action that referenced this pull request Mar 6, 2023
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.

2 participants