diff --git a/.github/workflows/commit_artifacts.yml b/.github/workflows/commit_artifacts.yml index be13416294a76..1cfed90ce969b 100644 --- a/.github/workflows/commit_artifacts.yml +++ b/.github/workflows/commit_artifacts.yml @@ -337,7 +337,7 @@ jobs: git --no-pager diff -U0 -w --cached | grep '^[+-]' | head -n 100 echo "====================" # Ignore REVISION or lines removing @generated headers. - if git diff --cached -w ':(exclude)*REVISION' | grep -vE "^(@@|diff|index|\-\-\-|\+\+\+|\- \* @generated SignedSource| -\ \* @flow)" | grep "^[+-]" > /dev/null; then + if git diff --cached -w ':(exclude)*REVISION' | grep -vE "^(@@|diff|index|\-\-\-|\+\+\+|\- \* @generated SignedSource| -\ \* @flow| +\ \* @flow)" | grep "^[+-]" > /dev/null; then echo "Changes detected" echo "===== Changes =====" git --no-pager diff --cached -w ':(exclude)*REVISION' | grep -vE "^(@@|diff|index|\-\-\-|\+\+\+|\- \* @generated SignedSource)" | grep "^[+-]" | head -n 50