Skip to content

Commit 27b48a1

Browse files
committed
Use PR HEAD as action version
1 parent 3fc0990 commit 27b48a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/preview-example.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ jobs:
1414
if: github.event.pull_request.head.repo.full_name == github.repository
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
18-
17+
uses: actions/checkout@v4
1918
- name: Deploy preview
20-
uses: rossjrw/pr-preview-action@v1
19+
uses: rossjrw/pr-preview-action@${{ github.event.pull_request.head.sha }}
2120
with:
2221
source-dir: test

0 commit comments

Comments
 (0)