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

Specify safe directory earlier in the code #23

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

klinkeklinke
Copy link
Contributor

Description

I added the same code snippet but earlier in the entrypoint.sh. This fixes issue #21 . @SvanBoxel please see if you are ok with formatting after the change. Thank you!

Tests

This time I managed to test it in my environment.

Before fix

GH Action failing just after initialization with:
fatal: detected dubious ownership in repository at '/github/workspace'

After fix

All works properly - tested on fork klinkeklinke/gitlab-mirror-and-ci-action@master.

Copy link
Owner

@SvanBoxel SvanBoxel left a comment

Choose a reason for hiding this comment

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

Tested and works! Thank you!

@SvanBoxel SvanBoxel merged commit f80bc11 into SvanBoxel:master Sep 21, 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