Skip to content

Commit 54f8716

Browse files
committed
fixreadme
1 parent 91a3835 commit 54f8716

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# GH Token
2+
13
```sh
24
* _____ _ *_ _______ * _ * * ** *
35
/ ____| |* | | |__ __| | | * * 🦄 *
@@ -7,9 +9,12 @@
79
\_____|_| |_| |_|\___/|_|\_\___|_| |_| *
810
```
911
12+
<!-- markdownlint-disable -->
13+
1014
> Create an installation access token for a GitHub app from your terminal
1115
1216
[![ghtoken size](https://img.shields.io/github/size/link-/gh-token/ghtoken?style=flat-square)](ghtoken) [![License](https://img.shields.io/github/license/link-/gh-token?style=flat-square)](LICENSE) ![platforms supported](https://img.shields.io/static/v1?style=flat-square&label=platform&message=macos%20%7C%20linux)
17+
<!-- markdownlint-restore -->
1318
1419
[Creates an installation access token](https://docs.github.com/en/rest/reference/apps#create-an-installation-access-token-for-an-app) that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire 1 hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.
1520

@@ -60,8 +65,8 @@ wget -O ghtoken \
6065
### curl
6166
6267
```sh
63-
# Download a file, name it ghtoken following [L]ocation redirects, and
64-
# automatically [C]ontinuing (resuming) a previous file transfer then
68+
# Download a file, name it ghtoken following [L]ocation redirects, and
69+
# automatically [C]ontinuing (resuming) a previous file transfer then
6570
# do a checksum
6671
curl -o ghtoken \
6772
-O -L -C - \
@@ -409,7 +414,7 @@ jobs:
409414

410415
## Troubleshoot
411416

412-
#### I'm getting: `Something went awry creating the jwt` with `ghtoken generate`
417+
### I'm getting: `Something went awry creating the jwt` with `ghtoken generate`
413418

414419
Make sure your `pem` file has the extension `.pem`. This is necessary for `jwt-cli` to be able to determine the type of key it's trying to parse.
415420

0 commit comments

Comments
 (0)