Skip to content

Commit f07827b

Browse files
author
Dias, Diego
committed
Refactor: Adjusting gh actions
1 parent c15ff9e commit f07827b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test-coverage.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test Coverage Report
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
branches:
66
- main
77
paths:
@@ -14,8 +14,6 @@ jobs:
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v3
17-
with:
18-
ref: ${{ github.event.pull_request.head.sha }}
1917

2018
- name: Setup Node.js
2119
uses: actions/setup-node@v4
@@ -36,6 +34,6 @@ jobs:
3634
uses: ArtiomTr/jest-coverage-report-action@v2
3735
if: always()
3836
with:
39-
github-token: ${{ secrets.SECRET_TOKEN }}
37+
github-token: ${{ secrets.GITHUB_TOKEN }}
4038
coverage-file: ./report.json
4139
base-coverage-file: ./report.json

0 commit comments

Comments
 (0)