Skip to content

Commit 479fa22

Browse files
committed
Improve change detection logic in continuous deployment workflow to ensure accurate path matching for recordprocessor changes
1 parent f7b9dae commit 479fa22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/continuous-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Detect recordprocessor changes compared to master
2929
id: detect
3030
run: |
31-
if git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -Eq '^(lambdas/recordprocessor/)'; then
31+
if git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -q '^lambdas/recordprocessor/'; then
3232
echo "has_changes=true" >> "$GITHUB_OUTPUT"
3333
else
3434
echo "has_changes=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)