Apache Solr open-source search software
Fix check for modified yml file in renovate-changelog workflow (#3869)
Jan Høydahl3cb1f8326e6c
diff --git a/.github/workflows/renovate-changelog.yml b/.github/workflows/renovate-changelog.ymlindex 5b6934b1762..f12f83d8dde 100644--- a/.github/workflows/renovate-changelog.yml+++ b/.github/workflows/renovate-changelog.yml@@ -45,8 +45,8 @@ jobs:- name: Commit and push changelogrun: |- # Check if there are any changes to commit- if git diff --quiet; then+ # Check if there are any new (untracked) or modified files in changelog/unreleased/+ if [ -z "$(git status --porcelain changelog/unreleased/)" ]; thenecho "No changelog changes to commit"exit 0fi