mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-01 14:55:26 +00:00
docs: clarify when owner grants access to all repositories (#378)
Clarifies the `repositories` note in the README: the token gets access to all repositories in the installation only when `owner` is set explicitly. Leaving `owner` empty scopes the token to the current repository, even though `owner` defaults to the current repository owner. Fixes #377.
This commit is contained in:
1 parent
12461a3a79
commit
655017ffa7
1 file changed
+1
-1
@@ -386,7 +386,7 @@ steps:
|
||||
**Optional:** Comma or newline-separated list of repositories to grant access to.
|
||||
|
||||
> [!NOTE]
|
||||
> If `owner` is set and `repositories` is empty, access will be scoped to all repositories in the provided repository owner's installation. If `owner` and `repositories` are empty, access will be scoped to only the current repository.
|
||||
> If `owner` is set explicitly and `repositories` is empty, access will be scoped to all repositories in the provided repository owner's installation. If `owner` and `repositories` are empty, access will be scoped to only the current repository.
|
||||
>
|
||||
> Repository entries may include an owner, for example `owner/repo1`. The owner portion must match the `owner` input, or the current repository owner if `owner` is unset.
|
||||
|
||||
|
||||
Reference in new issue
Block a user