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

External target repo #47

Open
burner1024 opened this issue Mar 27, 2022 · 1 comment
Open

External target repo #47

burner1024 opened this issue Mar 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@burner1024
Copy link

How about allowing to sync not the current repo, but another one?
Meaning you'd have a dedicated "cron" repo, which would pull from some upstream and push to some fork.
That'd be more convenient to use in the fork, since cron actions only run in default branch, I think? So you either have to change default branch in the fork, or keep getting merge commits into main.

I wonder if that would also help with #44.

@aormsby
Copy link
Owner

aormsby commented May 10, 2022

So you either have to change default branch in the fork

In my opinion, this is often the wise choice anyway. But yeah, I see what you mean.

I'm not opposed to this, but I'm not really putting the time into it right now. If anyone wants to provide support, I'm open to helping and reviewing. A few notes from me:

  1. Keep in mind the Action was designed around syncing the repo the workflow lives in. This kind of change is outside that scope, and it could require more than just a 'repo redirect' kind of feature. Don't know offhand. 🤷
  2. The Action and is users would have to manage authentication of multiple repos, which would require better token handling. (Frankly, my implementation is rather brittle.)
  3. Does this solve a problem or add new ones? Seems like expanding functionality requires more ongoing support.

Cheers.

@aormsby aormsby added the enhancement New feature or request label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants