Skip to content

Commit acac962

Browse files
committed
fixup!
1 parent b7a8d14 commit acac962

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/request-review.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,13 @@ jobs:
4040

4141
- name: Git Checkout (BASE)
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43-
44-
- name: Git Checkout (HEAD)
45-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4643
with:
47-
ref: ${{ github.event.pull_request.head.sha }}
48-
sparse-checkout: apps/site/pages/en/
4944
fetch-depth: 0
50-
path: pr
5145

5246
- name: Get changed files
5347
id: changed-files
54-
working-directory: pr
5548
run: |
56-
FILES=$(git diff --name-only --diff-filter=ACMRT origin/main...HEAD | grep -E '^apps/site/pages/en/.*\.(md|mdx)$' || true)
49+
FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep -E '^apps/site/pages/en/.*\.(md|mdx)$' || true)
5750
echo "files<<EOF" >> $GITHUB_OUTPUT
5851
echo $FILES >> $GITHUB_OUTPUT
5952
echo "EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)