Push file to another repository from another organization with github action

Viewed 221

I own two GitHub accounts and would like to push one file from accountA/repoA to accountB/repoB in an automatic and periodic fashion through GitHub action.

I have come across some tutorials but they seem to be geared towards repositories in the same organization.
A simple simple script example or tutorial would be very useful.

1 Answers

The general idea would be an action like andstor/copycat-action. That would require a Personal Access Token with access to org2/repo2

  • You schedule it on org1/repo1
  • You configure it to push a file to org2/repo2
Related