abap2UI5 / abap2UI5-renamed

abap2UI5 with renamed Namespace
0 stars 1 forks source link

Update mirror automatically after a pull request is merged to main #1

Closed christianguenter2 closed 1 week ago

christianguenter2 commented 5 months ago

Now that we have the mirror, it would be nice to automatically mirroring after a pr is merged. I think that's something which should be possible with gh actions somehow. Unfortunately that's something way over my head.

oblomov-dev commented 5 months ago

yes i can put it on my list, just calling an already setup npm command via github action should be (hopefully) possible for me :)

but maybe the action should be setup in the mirror repository and we transfer this issue to there?

larshp commented 5 months ago

possible, but I dont think it would be the typical use-case

if someone wants to mirror they setup their own repo, with the name they want, this repo might be public or private. Thus its easier to have a cron job in the mirror pulling the code from the source

oblomov-dev commented 5 months ago

thanks for the info, ok when i find time i will give it a try in the mirror repo with a cron job. it makes somehow no sense, but then this repo is a good copy&paste template for everyone who needs the functionality in the future.

christianguenter2 commented 5 months ago

in the mirror repository and we transfer this issue to there? - makes sense. Seems that I'm not allowed to do that. So feel free.

oblomov-dev commented 1 week ago

made a small adjustment to the permissions and now the action runs without mistakes: https://github.com/abap2UI5/abap2UI5-mirror-renamed/actions/workflows/cron.yml

And PRs are created and can be merged with namespace /2U5/TEST: https://github.com/abap2UI5/abap2UI5-mirror-renamed/pull/5

added some infos to the readme, i think this is a good sample repository now for everyone who wants to have a renamed version of abap2UI5.

close this issue, thank you @christianguenter2 @larshp