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:
Florian Strübe authored and GitHub committed 2026-10-12 16:37:47 -07:00
1 parent 12461a3a79
commit 655017ffa7
1 file changed
+1 -1
+1 -1
View File
@@ -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.