Add fix for changelog conditional always returning false (#1101)

This commit is contained in:
Jonathan Wren 2020-11-28 13:21:16 -08:00 committed by GitHub
parent 4cad215560
commit 45f051f51a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,6 +127,8 @@ jobs:
fi
SOMETHING_CHANGED=false
git diff --exit-code || SOMETHING_CHANGED=true
echo "::debug::SOMETHING_CHANGED: $SOMETHING_CHANGED"
echo "SOMETHING_CHANGED=$SOMETHING_CHANGED" >> $GITHUB_ENV
- name: Commit
if: env.SOMETHING_CHANGED