Skip to content

Commit c15ff9e

Browse files
author
Dias, Diego
committed
Refactor: adjusting token
1 parent 50fd116 commit c15ff9e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/test-coverage.yml

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

33
on:
4-
pull_request:
4+
pull_request_target:
55
branches:
66
- main
77
paths:
@@ -10,14 +10,10 @@ on:
1010
jobs:
1111
test-coverage:
1212
runs-on: ubuntu-latest
13-
permissions:
14-
checks: write
15-
pull-requests: write
16-
contents: read
1713

1814
steps:
1915
- name: Checkout code
20-
uses: actions/checkout@v4
16+
uses: actions/checkout@v3
2117
with:
2218
ref: ${{ github.event.pull_request.head.sha }}
2319

@@ -40,5 +36,6 @@ jobs:
4036
uses: ArtiomTr/jest-coverage-report-action@v2
4137
if: always()
4238
with:
39+
github-token: ${{ secrets.SECRET_TOKEN }}
4340
coverage-file: ./report.json
4441
base-coverage-file: ./report.json

0 commit comments

Comments
 (0)