We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2571c commit 42cedd3Copy full SHA for 42cedd3
.github/workflows/actions/early-exit-check/action.yml
@@ -20,12 +20,7 @@ runs:
20
21
echo "Comparing origin/${GITHUB_BASE_REF:-HEAD} with ${end_ref}"
22
23
- change_count=$(
24
- git diff --name-only origin/${GITHUB_BASE_REF:-HEAD}..${end_ref} | \
25
- grep -E '^(app/.*)|(.yarn/.*)|(.github/workflows/.*)' | \
26
- wc -l | \
27
- awk '{$1=$1};1'
28
- )
+ change_count=$(git diff --name-only origin/${GITHUB_BASE_REF:-HEAD}..${end_ref} | grep -E '^(app/.*)|(.yarn/.*)|(.github/workflows/.*)' | wc -l | awk '{$1=$1};1')
29
echo "$change_count files changed in app, .yarn, or .github/workflows"
30
if [ $change_count -gt 0 ]; then
31
# A result greater than 0 means there are changes
0 commit comments