Skip to content

Commit 7cdffec

Browse files
committed
Forgot to commit some doc changes...
1 parent 4bbf214 commit 7cdffec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/includes/quarkus-github-app.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ a| [[quarkus-github-app_quarkus-github-app-personal-access-token]]`link:#quarkus
246246

247247
[.description]
248248
--
249-
A personal access token for use with `TokenGitHubClients`.
249+
A personal access token for use with `TokenGitHubClients` or when no installation id is provided in the payload.
250250

251251
For standard use cases, you will use the installation client which comes with the installation permissions. It can be injected directly in your method.
252252

253253
However, if your payload comes from a webhook and doesn't have an installation id, it's handy to be able to use a client authenticated with a personal access token as the application client permissions are very limited.
254254

255-
This token will be used to authenticate the clients provided by `TokenGitHubClients`.
255+
This token will be used to authenticate the clients provided by `TokenGitHubClients` and clients authenticated with this personal access token will be automatically provided when injecting `GitHub` or `DynamicGraphQLClient` in your method, when the payload doesn't provide an installation id.
256256

257257
ifdef::add-copy-button-to-env-var[]
258258
Environment variable: env_var_with_copy_button:+++QUARKUS_GITHUB_APP_PERSONAL_ACCESS_TOKEN+++[]

0 commit comments

Comments
 (0)