Skip to content

Commit

Permalink
fix(batch-exports): Use grep -E for multiple pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Oct 11, 2023
1 parent 1f8cb02 commit 7802f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container-images-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Check for changes that affect temporal worker
id: check_changes_temporal_worker
run: |
echo "::set-output name=changed::$(git diff --name-only HEAD^ HEAD | grep '^posthog/temporal/|^posthog/batch_exports/|^posthog/management/commands/start_temporal_worker.py$' || true)"
echo "::set-output name=changed::$(git diff --name-only HEAD^ HEAD | grep -E '^posthog/temporal/|^posthog/batch_exports/|^posthog/management/commands/start_temporal_worker.py$' || true)"
- name: Trigger Temporal Worker Cloud deployment
if: steps.check_changes_temporal_worker.outputs.changed != ''
Expand Down

0 comments on commit 7802f38

Please sign in to comment.