Skip to content

Commit e190c13

Browse files
authored
Update 2b-github-actions-essential-features.md
1 parent 72ddcce commit e190c13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

learn-pr/github/github-actions-ci/includes/2b-github-actions-essential-features.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,11 @@ GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs
350350

351351
## Identify when to use an installation token from a GitHub app
352352

353-
After your GitHub App is installed on an account, you can authenticate it as an app installation by using the `installation access token` for REST and GraphQL API requests. This step allows the app to access resources owned by the installation, assuming that the app was granted the required repository access and permissions. REST or GraphQL API requests made by an app installation are attributed to the app.
353+
When your GitHub app is installed on an account, you can authenticate it as an app installation by using the `installation access token` for REST and GraphQL API requests. This step allows the app to access resources owned by the installation, assuming that the app was granted the required repository access and permissions. REST or GraphQL API requests made by an app installation are attributed to the app.
354354

355355
In the following example, you replace `INSTALLATION_ACCESS_TOKEN` with the installation access token:
356356

357-
```
357+
```bash
358358
curl --request GET \
359359
--url "https://api.github.com/meta" \
360360
--header "Accept: application/vnd.github+json" \
@@ -366,6 +366,6 @@ You can also use an installation access token to authenticate for HTTP-based Git
366366

367367
You replace `TOKEN` in the example with the installation access token:
368368

369-
```
369+
```bash
370370
git clone https://x-access-token:[email protected]/owner/repo.git
371371
```

0 commit comments

Comments
 (0)