Skip to content

Commit db235a2

Browse files
authored
Merge pull request #237 from netwrix/dev
doc review fix
2 parents f565cc3 + 3c266b2 commit db235a2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/claude-documentation-reviewer.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Documentation Reviewer
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, edited, reopened, synchronize]
66
paths:
77
- '**.md'
@@ -23,9 +23,8 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525
with:
26-
# Ensures the action checks out the PR branch instead of main
27-
ref: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
28-
fetch-depth: 0 # Need full history to compare with base branch
26+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
27+
fetch-depth: 0
2928

3029
- name: Get changed markdown files
3130
id: changed-files

0 commit comments

Comments
 (0)