You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[GITHUB_TOKEN provided to GitHub Actions](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#environment-variables)
- User authentication for installation ([user-to-server](https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps))
@@ -137,7 +156,7 @@ The `auth()` method has no options. It returns a promise which resolves with the
137
156
<code>string</code>
138
157
</th>
139
158
<td>
140
-
Can be either <code>"oauth"</code> for personal access tokens and OAuth tokens, or <code>"installation"</code> for installation access tokens (includes <code>GITHUB_TOKEN</code> provided to GitHub Actions)
159
+
Can be either <code>"oauth"</code> for personal access tokens and OAuth tokens, <code>"installation"</code> for installation access tokens (includes <code>GITHUB_TOKEN</code> provided to GitHub Actions), <code>"app"</code> for a GitHub App JSON Web Token, or <code>"user-to-server"</code> for a user authentication token through an app installation.
141
160
</td>
142
161
</tr>
143
162
</tbody>
@@ -181,7 +200,7 @@ Here is a list of things you can do to retrieve further information
181
200
Note that this does not work for installations. There is no way to retrieve permissions based on an installation access tokens.
0 commit comments