This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 3cb1f8326e6 Fix check for modified yml file in renovate-changelog
workflow (#3869)
3cb1f8326e6 is described below
commit 3cb1f8326e6c6f97fe773cc25d26ca14bdbbc267
Author: Jan Høydahl <[email protected]>
AuthorDate: Mon Nov 17 00:23:51 2025 +0100
Fix check for modified yml file in renovate-changelog workflow (#3869)
---
.github/workflows/renovate-changelog.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/renovate-changelog.yml
b/.github/workflows/renovate-changelog.yml
index 5b6934b1762..f12f83d8dde 100644
--- a/.github/workflows/renovate-changelog.yml
+++ b/.github/workflows/renovate-changelog.yml
@@ -45,8 +45,8 @@ jobs:
- name: Commit and push changelog
run: |
- # 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/)" ]; then
echo "No changelog changes to commit"
exit 0
fi