You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,10 @@ Point this to the api. The default is `api.github.com`.
74
74
75
75
Under which organisation or user will the new project be hosted
76
76
77
+
#### github.ownerIsOrg
78
+
79
+
A boolean indicator (default is *false*) to specify that the owner of this repo is an Organisation.
80
+
77
81
#### github.token
78
82
79
83
Go to [Settings / Developer settings / Personal access tokens](https://github.com/settings/tokens). Generate a new token with `repo` scope and copy that into the `settings.ts`
@@ -90,6 +94,8 @@ What is the name of the new repo
90
94
91
95
If true (default is false), we will try to delete the destination github repository if present, and (re)create it. The github token must be granted `delete_repo` scope. The newly created repository will be made private by default.
92
96
97
+
If you've set `github.recreateRepo` to true and the repo belongs to an Organisation, the `github.ownerIsOrg` flag **must** be set as true.
98
+
93
99
This is useful when debugging this tool or a specific migration. You will always be prompted for confirmation.
0 commit comments