Skip to content

Commit 2d1ecd1

Browse files
authored
update README with gist PAT info (#13)
1 parent 699af1e commit 2d1ecd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This action is a recommended deployment option. You can also deploy on Vercel or
7272
- `card` (required): Card type. Supported: `stats`, `top-langs`, `pin`, `wakatime`, `gist`.
7373
- `options`: Card options as a query string (`key=value&...`) or JSON. If `username` is omitted, the action uses the repository owner.
7474
- `path`: Output path for the SVG file. Defaults to `profile/<card>.svg`.
75-
- `token`: GitHub token (PAT or `GITHUB_TOKEN`). For private repo stats, use a [PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) with `repo` and `read:user` scopes.
75+
- `token`: GitHub token (PAT or `GITHUB_TOKEN`). For private repo stats, use a [PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) with `repo` and `read:user` scopes. For any gist, use a PAT with `gist` scope.
7676

7777
## Examples
7878

@@ -109,7 +109,7 @@ Gist example:
109109
with:
110110
card: gist
111111
options: id=0123456789abcdef
112-
token: ${{ secrets.GITHUB_TOKEN }}
112+
token: ${{ secrets.PAT }}
113113
```
114114
115115
JSON options example:

0 commit comments

Comments
 (0)