We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d739d58 commit ae646cbCopy full SHA for ae646cb
.github/workflows/test.yml
@@ -40,7 +40,7 @@ jobs:
40
fi
41
42
# For PRs, check if content files changed
43
- CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '^content/.*\.md$' || true)
+ CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.sha }} | grep '^content/.*\.md$' || true)
44
45
if [[ -z "$CHANGED_FILES" ]]; then
46
echo "should-run=false" >> $GITHUB_OUTPUT
0 commit comments