Skip to content

Commit 5f24b90

Browse files
authored
ci: adjust netlify build to address security issues (#2126)
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
1 parent b60179f commit 5f24b90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/manual-netlify-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Docs Preview (Netlify)
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
paths:
66
- 'docs/**'
77

@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout community PR
1414
uses: actions/checkout@v5
15+
with:
16+
ref: ${{ github.event.pull_request.head.sha }}
1517

1618
- name: Checkout website repo
1719
uses: actions/checkout@v5

0 commit comments

Comments
 (0)