Skip to content

Commit fab55ac

Browse files
committed
updated permission in action flow and update instruction
1 parent b46d309 commit fab55ac

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Install packages:
2020
npm install
2121
```
2222

23-
Setup user token
23+
Setup user token:
2424
```bash
2525
- Open the URL 'https://gorest.co.in/'
2626
- Login or Sign
@@ -48,8 +48,12 @@ npm run lint
4848
npm run lint:fix
4949
```
5050

51-
Run in Github Actions :<br>
52-
Currently test is setup to execute in github action on push event. You need to [create github secrete]((https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)) with name `API_TOKEN` with value generated in `Setup user token` step.
51+
Github Actions :<br> <br>
52+
Currently test is setup to execute in github action on push event. You need to [create github secrete]((https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)) with name `API_TOKEN` and value generated in `Setup user token` step. <br> <br>
53+
54+
<b> Github Permission to update report: </b> Go to Repository -> Settings -> Actions -> General <br>
55+
Scroll to bottom of the page and look for 'Workflow permissions' section <br>
56+
Check 'Read and write permission' and click on save
5357

5458
Sample Report
5559
![SampleReport](./assets/report.png)

0 commit comments

Comments
 (0)