We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514532c commit 12c741fCopy full SHA for 12c741f
1 file changed
.github/workflows/pr-deploy-and-test.yml
@@ -28,14 +28,7 @@ jobs:
28
- name: Detect recordprocessor changes in PR
29
id: detect
30
run: |
31
- current_sha="${{ github.event.pull_request.head.sha }}"
32
- previous_sha="${{ github.event.before }}"
33
-
34
- if [ -z "$previous_sha" ] || [ "$previous_sha" = "0000000000000000000000000000000000000000" ]; then
35
- previous_sha="$(git rev-parse "${current_sha}^")"
36
- fi
37
38
- if git diff --quiet "$previous_sha" "$current_sha" -- lambdas/recordprocessor/; then
+ if git diff --quiet "${{ github.event.before }}" "${{ github.event.pull_request.head.sha }}" -- lambdas/recordprocessor/ lambdas/shared/src/common/; then
39
echo "has_changes=false" >> "$GITHUB_OUTPUT"
40
else
41
echo "has_changes=true" >> "$GITHUB_OUTPUT"
0 commit comments