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

Update multiple repositories #2872

Closed
nachitox opened this issue Apr 29, 2024 · 2 comments
Closed

Update multiple repositories #2872

nachitox opened this issue Apr 29, 2024 · 2 comments

Comments

@nachitox
Copy link

I have a central multiple repositories that depend on a single "common" one.

I've being playing with the action and I made it work for a single repository. When there's a new PUSH to master, a new PR is created for the "dependent".

Is there a "simple" way of creating a PR for each "dependent" repository?

Thanks

@peter-evans
Copy link
Owner

Hi @nachitox

I would look at using a matrix for the job that creates the pull request. In your matrix properties, use something like repo: [dependent-repo-1, dependent-repo-2, dependent-repo-3] so that a job is created for each.

@nachitox
Copy link
Author

It worked perfectly.
Thank you!

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