Skip to content

Commit f7b9dae

Browse files
committed
Refine change detection logic in continuous deployment workflow to exclude shared resources
1 parent c810b2e commit f7b9dae

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/|lambdas/shared/src/common/)'; then
31+
if git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -Eq '^(lambdas/recordprocessor/)'; then
3232
echo "has_changes=true" >> "$GITHUB_OUTPUT"
3333
else
3434
echo "has_changes=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)