Skip to content

Commit 12c741f

Browse files
committed
deploy test
1 parent 514532c commit 12c741f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/pr-deploy-and-test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ jobs:
2828
- name: Detect recordprocessor changes in PR
2929
id: detect
3030
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
31+
if git diff --quiet "${{ github.event.before }}" "${{ github.event.pull_request.head.sha }}" -- lambdas/recordprocessor/ lambdas/shared/src/common/; then
3932
echo "has_changes=false" >> "$GITHUB_OUTPUT"
4033
else
4134
echo "has_changes=true" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)