Skip to content

Commit 7ffdf3b

Browse files
author
Dias, Diego
committed
Refactor: PR write permissions for job
1 parent daece44 commit 7ffdf3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-coverage.yml

Lines changed: 3 additions & 1 deletion
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:
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
21+
with:
22+
ref: ${{ github.event.pull_request.head.sha }}
2123

2224
- name: Setup Node.js
2325
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)