Commit Graph
6 Commits
Author SHA1 Message Date
Chris Sidi d39e48f007 Create org if necessary 2020-09-22 13:57:42 -04:00
Chris Sidi 4e5bb47042 Better error message when org doesn't exist
* Produce a better error message when the destination org doesn't exist.
* Support pushing to the authenticated user's account

**Before**
`error creating github repository `synced-actions/setup-node`: error creating repository: POST http://my-ghes-hostname/api/v3/orgs/synced-actions/repos: 404 Not Found []`

**After**
`error creating github repository `synced-actions/setup-node`: Organization `synced-actions` doesn't exist at http://my-ghes-hostname. You must create it first.`

https://github.com/actions/actions-sync/issues/1
2020-09-21 22:08:06 -04:00
Chris SidiandGitHub 9c28fe38c9 Merge pull request #8 from hashtagchris/issue2
Honor repo flag on sync
2020-09-21 16:52:35 -04:00
Chris Sidi fec74ead01 Add more tests 2020-09-21 12:08:01 -04:00
Chris Sidi b5e5d3423b Add tests 2020-09-21 12:08:01 -04:00
Chris Sidi 8862a56600 Honor repo flags on sync and push 2020-09-18 17:15:16 -04:00