github.com/bishtawi/migrate/v4@v4.8.11/source/github/README.md (about)

     1  # github
     2  
     3  This driver is catered for those that want to source migrations from [github.com](https://github.com). The URL scheme doesn't require a hostname, as it just simply defaults to `github.com`.
     4  
     5  `github://user:personal-access-token@owner/repo/path#ref`
     6  
     7  | URL Query  | WithInstance Config | Description |
     8  |------------|---------------------|-------------|
     9  | user | | The username of the user connecting |
    10  | personal-access-token | | An access token from Github (https://github.com/settings/tokens) |
    11  | owner | | the repo owner |
    12  | repo | | the name of the repository |
    13  | path | | path in repo to migrations |
    14  | ref | | (optional) can be a SHA, branch, or tag |