peter-evans/create-pull-request

Update multiple repositories

nachitox opened this issue · 2 comments

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

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.

It worked perfectly.
Thank you!