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

[request]: replicate to repo only if there's a matching file pattern #70

Open
ReenigneArcher opened this issue Sep 26, 2024 · 2 comments

Comments

@ReenigneArcher
Copy link

I would like to replicate a file to other repos, only when specific files exist in the other repo.

For example. I want to replicate ./.github/ISSUE_TEMPLATE/config.yml only if there are other yml files in the same directory in the other repos. Ideally this could be done without the need of adding a custom label.

This use case is because github won't show the config from the .github repo if there are any issue templates present in the repo.

@derberg
Copy link
Owner

derberg commented Nov 27, 2024

sorry, I don't think I get the explanation

other yml files in the same directory in the other repos

why other repos?

@ReenigneArcher
Copy link
Author

If there are no issue templates in the target repo, then I don't want a config.yml to be replicated there because it will automatically use the one from the .github organization repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants