Skip to content

Commit

Permalink
Add token details in generate preview
Browse files Browse the repository at this point in the history
  • Loading branch information
vn7n24fzkq committed Sep 8, 2020
1 parent 4bca35b commit 2c55a46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20188,6 +20188,10 @@ const generatePreviewMarkdown = function (isInGithubAction) {
# Preview Cards

Here are all cards with themes.
| :warning: | If your workflow does not generate all cards in output folder, then you need to use [Personal access token](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) instead of GITHUB_TOKEN in workflow. |
| :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

[Personal token need those permission](https://github.com/vn7n24fzkq/github-profile-summary-cards/wiki/Personal-access-token-permissions)

`;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-profile-summary-cards",
"version": "0.2.0",
"version": "0.2.1",
"description": "Generate github profile summary cards",
"main": "src/app.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/utils/file-writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const generatePreviewMarkdown = function (isInGithubAction) {
# Preview Cards
Here are all cards with themes.
| :warning: | If your workflow does not generate all cards in output folder, then you need to use [Personal access token](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) instead of GITHUB_TOKEN in workflow. |
| :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
[Personal token need those permission](https://github.com/vn7n24fzkq/github-profile-summary-cards/wiki/Personal-access-token-permissions)
`;

Expand Down

0 comments on commit 2c55a46

Please sign in to comment.