Skip to content

Commit ffdf3ad

Browse files
authored
Update pr-validation.yml
1 parent e6adb2b commit ffdf3ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PR Validation
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, edited, synchronize]
66
paths:
77
- 'README.md'
@@ -18,6 +18,7 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020
with:
21+
ref: ${{ github.event.pull_request.head.sha }}
2122
fetch-depth: 0
2223

2324
- name: Get changed files

0 commit comments

Comments
 (0)