Correct the scopes required for `--source-token`.

This commit is contained in:
Chris Gavin 2020-08-25 17:01:33 +01:00
Родитель 513808c5d8
Коммит 92c89fdaff
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 07F950B80C27E4DA
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -24,7 +24,7 @@ From a machine with access to both GitHub.com and GitHub Enterprise Server use t
**Optional Arguments:**
* `--cache-dir` - A temporary directory in which to store data downloaded from GitHub.com before it is uploaded to GitHub Enterprise Server. If not specified a directory next to the sync tool will be used.
* `--source-token` - A token to access the API of GitHub.com. This is normally not required, but can be provided if you have issues with API rate limiting. If provided, it should have the `public_repo` scope.
* `--source-token` - A token to access the API of GitHub.com. This is normally not required, but can be provided if you have issues with API rate limiting. The token does not need to have any scopes.
* `--destination-repository` - The name of the repository in which to create or update the CodeQL Action. If not specified `github/codeql-action` will be used.
* `--force` - By default the tool will not overwrite existing repositories. Providing this flag will allow it to.
@ -33,7 +33,7 @@ From a machine with access to GitHub.com use the `./codeql-action-sync pull` com
**Optional Arguments:**
* `--cache-dir` - The directory in which to store data downloaded from GitHub.com. If not specified a directory next to the sync tool will be used.
* `--source-token` - A token to access the API of GitHub.com. This is normally not required, but can be provided if you have issues with API rate limiting. If provided, it should have the `public_repo` scope.
* `--source-token` - A token to access the API of GitHub.com. This is normally not required, but can be provided if you have issues with API rate limiting. The token does not need to have any scopes.
Next copy the sync tool and cache directory to another machine which has access to GitHub Enterprise Server.