Skip to content

Commit b46d309

Browse files
committed
changed token in github secretes
1 parent 7df8986 commit b46d309

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: npm ci
1818

1919
- name: Run lint and test
20-
run: npm run lint&&export GO_RES_USER_TOKEN=${{ secrets.GO_RES_USER_TOKEN }}&&npm test
20+
run: npm run lint&&export GO_RES_USER_TOKEN=${{ secrets.API_TOKEN }}&&npm test
2121

2222
- name: Create Report
2323
uses: phoenix-actions/test-reporting@v8

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ Run tests:
4141
npm run test
4242
```
4343

44-
Lint & fix
44+
Lint & fix:
4545

4646
```bash
4747
npm run lint
4848
npm run lint:fix
4949
```
5050

51-
Run in Github Actions
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)) for `GO_RES_USER_TOKEN` with value generated in `Setup user token` step.
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.
5353

5454
Sample Report
5555
![SampleReport](./assets/report.png)

0 commit comments

Comments
 (0)