Skip to content

Commit ae646cb

Browse files
jstirnamanCopilot
andauthored
Update .github/workflows/test.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d739d58 commit ae646cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fi
4141
4242
# For PRs, check if content files changed
43-
CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '^content/.*\.md$' || true)
43+
CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.sha }} | grep '^content/.*\.md$' || true)
4444
4545
if [[ -z "$CHANGED_FILES" ]]; then
4646
echo "should-run=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)