Skip to content

Commit

Permalink
fix: pipe logic
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <[email protected]>
  • Loading branch information
jleach committed Oct 25, 2024
1 parent c40fc72 commit faa6514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions/early-exit-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
echo "Comparing ${parent_ref} with ${child_ref}"
change_count=$(git diff --name-only $parent_ref..$child_ref | grep -E '^(app/.*)|(.yarn/.*)|(.github/workflows/.*)' || true | wc -l | awk '{$1=$1};1')
change_count=$(git diff --name-only ${parent_ref}..${child_ref} | grep -E '^(app/.*)|(.yarn/.*)|(.github/workflows/.*)' || true | wc -l | awk '{$1=$1};1')
echo "$change_count files changed in app, .yarn, or .github/workflows"
if [ $change_count -gt 0 ]; then
Expand Down

0 comments on commit faa6514

Please sign in to comment.