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

[Bug]: Automatic merge failed when file mode changes #380

Closed
1 task done
Fs02 opened this issue Sep 4, 2023 · 6 comments · Fixed by #383
Closed
1 task done

[Bug]: Automatic merge failed when file mode changes #380

Fs02 opened this issue Sep 4, 2023 · 6 comments · Fixed by #383
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Fs02
Copy link

Fs02 commented Sep 4, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

"Pull template" failed when there's conflict with file mode between source and target repository

Expected Behavior

template repository file mode should be used

Current Behavior

it errored and stopped the job, the last message is:

Automatic merge failed; fix conflicts and then commit the result.

Steps To Reproduce

No response

Possible Solution

No response

Additional Information/Context

No response

Template sync version Version

1.1.1

@Fs02 Fs02 added the bug Something isn't working label Sep 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

Hi! Thank you for your contribution!'Happy coding! 🚀

@AndreasAugustin
Copy link
Owner

AndreasAugustin commented Sep 4, 2023

Hi @Fs02 and thank you for the bug report.
I did not find time yet to look into it but it sounds interesting.
Think a fast option could be to use git config --global core.fileMode false but reading your description you would rather like to use the file mode within the source (template) repository.

Will think about a solution but I guess it will take some days. Maybe you have some further thoughts/ideas relate to the issue?

@AndreasAugustin AndreasAugustin self-assigned this Sep 16, 2023
@AndreasAugustin AndreasAugustin added this to the v1.0.0 milestone Sep 16, 2023
@AndreasAugustin
Copy link
Owner

@all-contributors please add @Fs02 for bug

@allcontributors
Copy link
Contributor

@AndreasAugustin

I've put up a pull request to add @Fs02! 🎉

@AndreasAugustin
Copy link
Owner

@Fs02 sorry was busy. Today I was able to confirm the bug with a small test.
A fix will be provided soon.

@AndreasAugustin
Copy link
Owner

@Fs02 a new release is available v1.1.3. Hopefully this will solve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

2 participants