Skip to content

Commit 9f3e5c4

Browse files
committedJan 22, 2022
v1.0.2
1 parent 08ddca9 commit 9f3e5c4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
 

‎README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center"><a href="/" rel="noopener noreferrer"><img width="500px" src="https://raw.githubusercontent.com/Devorein/github-readme-learn-section-notion/master/media/Logo.png" alt="Logo"></a></p>
22

33
<h1 align="center">Github Readme Learn Section - <i>Github Action</i></h1>
4-
<div align="center"><b>Automatically update your github README with data fetched from a remote notion database.</b></div>
4+
<div align="center"><b>Automatically update your github README with data fetched from a notion database</b></div>
55
</br>
66
<p align="center">
77
<a href="https://app.codecov.io/gh/Devorein/github-readme-learn-section-notion/branch/master"><img src="https://codecov.io/gh/Devorein/github-readme-learn-section-notion/branch/master/graph/badge.svg"/></a>
@@ -12,10 +12,10 @@
1212

1313
## Configuration
1414

15-
| Option | Description | Required | Default |
16-
| :-----------: | :-----------------------------------------------: | :------: | :-----: |
17-
| `database_id` | Set this to the id of your remote notion database | true | - |
18-
| `token_v2` | Set this to your notion `token_v2` (Required only for private databases) | false | - |
15+
| Option | Description | Required | Default |
16+
| :-----------: | :----------------------------------------------------------------------: | :------: | :-----: |
17+
| `database_id` | Set this to the id of your remote notion database | true | - |
18+
| `token_v2` | Set this to your notion `token_v2` (Required only for private databases) | false | - |
1919

2020
## Usage
2121

@@ -97,7 +97,7 @@ Follow the steps below to obtain your `token_v2`:
9797
2. Go to the Application > Cookies section.
9898
3. There you'll find a `token_v2` cookie.
9999

100-
**NOTE**: Its highly recommended to store your `token_v2` as a github secret rather than pasting it in your workflow file.
100+
**NOTE**: Its highly recommended to store your `token_v2` as a github secret rather than pasting it in your workflow file. And if you want to embed it in your workflow file make sure unauthorized sources can't access/view it.
101101

102102
#### 2. Create a github secret to store `token_v2`
103103

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "github-readme-learn-section-notion",
3-
"version": "1.0.0",
4-
"description": "A github action to populate github readme learn section with data fetched from a remote notion database",
3+
"version": "1.0.2",
4+
"description": "A github action to auto-populate github readme learn section with data fetched from a remote notion database",
55
"main": "dist/index.js",
66
"scripts": {
77
"prebuild": "npm run format && npm run transpile",
@@ -35,4 +35,4 @@
3535
"@vercel/ncc": "^0.28.5",
3636
"typescript": "^4.2.4"
3737
}
38-
}
38+
}

0 commit comments

Comments
 (0)
Failed to load comments.