diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index fd76ad12..0ccf5d18 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -18,7 +18,7 @@ jobs: CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | changes=$(git status --short | wc -l) - if [[ -z "$changes" ]]; then + if [[ "$changes" == "0" ]]; then exit 0 fi branch="update-changelog/$(date +%s)"