-
Notifications
You must be signed in to change notification settings - Fork 18
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
Copy to specific repo while using push trigger event #49
Comments
Hey man, glad you like it, v2 was just released and I renamed repo as it no longer only copies files, it can also remove files.
I'm using JS
not sure if we can figure out from PAT what repos you have access to. Isn't |
Also, if you like this project, please leave a star ⭐ as maybe once it gets too popular, then GitHub will support it natively 😄 |
I was more referring to patterns in file names, e.g. ignoring file names "mod.main.bicep" in all folders
How do you figure out the repos then? Do you use all inside organization or? I guess I could use topics but then the danger is someone might use the same topic in a different repo and get access to files they shouldn't otherwise have. Is there a reason why specificing a list of repos is not supported through code? |
oh, damn I just noticed you are interested with removal even though it was not yet released 😃
just to clarify, so you mean you want it to run on multiple repos that are not under one org but can be in different orgs and private profiles? |
I want to copy to multiple repos which I choose under one organization. |
ok, so basically requirement is: copy/remove from just few repos in the same org. I always recommend I never added related discussion: #8 |
The only difference is, I am not copying workflows but rather providing code for customers (for IaC related projects). And I basically want to automatically update a template-repository that customers can always have the low-code, latest version. When there is a push to main on repo A, I copy over some subset of files to repo template-repository (so I don't need to do it manually all the time). I guess I could use topics it's just that in that case, the scope is not in my control. We have 7k repos in organization so I'm worried someone might use the same topic and they get the code all of a sudden. |
oh 😅
|
Hi,
I love the action that you've created, really useful! I want to check only one functionality possibility. I see from docs that the only way to specify which repo to copy to is when using on workflow_dispatch. Is there any chance that you could add the same functionality by checking an env variable of the same name?
I might be wrong in understanding how the API gets the list of repos, but since I am using a PAT token, and in a big organization, I assume it would list all of those repos. I would be probably fired if I messed with all of the other repos 😄 (I don't have write access on most of them but do have on 15ish repos).
So in summary:
Side question; are regex patterns supported under patterns_to_ignore, patterns_to_remove (neew PR you've created) and similar..? If so, can you show me an example (say I want to remove mod.main.bicep from all subfolders in a repo)
The text was updated successfully, but these errors were encountered: