AndreasAugustin / actions-template-sync

:octocat: Github action for syncing other repositories (templates) with current repository. Any git provider like GitHub (enterprise), GitLab, Gittea,.. are supported for the source repository
https://andreasaugustin.github.io/actions-template-sync/
MIT License
210 stars 33 forks source link

[Docs]: No documentation on how to use for Github Enterprise #566

Open asehrawat24 opened 7 hours ago

asehrawat24 commented 7 hours ago

Describe the documentation issue

Can someone help me with configuring this for Github Enterprise? I keep getting - ::info::set git global configuration ::info::the source repository is not located within GitHub. Error: Process completed with exit code 1.

Links

https://github.com/AndreasAugustin/actions-template-sync

Acknowledgements

AndreasAugustin commented 6 hours ago

Describe the documentation issue

Can someone help me with configuring this for Github Enterprise? I keep getting - ::info::set git global configuration ::info::the source repository is not located within GitHub. Error: Process completed with exit code 1.

Links

https://github.com/AndreasAugustin/actions-template-sync

Acknowledgements

  • [ ] I may be able to submit a pull-request to fix this issue.

Hi @asehrawat24 and thank you for your issue. Just for clarification. Is this related GitHub enterprise or GitHub enterprise server? (Unfortunately I am not part of a GitHub enterprise and haven't administrated one so far so hopefully someone within the community has some experience)

Do you possibly have some further debug information? (E.g. do you get more trace if you retry running the action with debug flag enabled?)

Update: Reading the code and your log trace. Do you possibly set the variable is_not_source_github to true? This variable is if you use a git provider like Gut lab as a source provider. Is your source repository within GitHub? Then I guess you just need to remove this variable. (Not knowing anything about your architecture)