diff --git a/.github/workflows/version_branch.yml b/.github/workflows/version_branch.yml index 9a92f73..7909e16 100644 --- a/.github/workflows/version_branch.yml +++ b/.github/workflows/version_branch.yml @@ -1,3 +1,4 @@ +--- # # Copyright (C) 2025 Moko Consulting # @@ -424,8 +425,10 @@ jobs: print('[INFO] Updated files: ' + str(len(updated))) print('[INFO] Updated manifests: ' + str(len(updated_manifests))) + # If no manifests or headers were updated, skip gracefully if not updated: - raise SystemExit('[FATAL] No files updated (excluding .github)') + print('[INFO] No eligible files updated. Skipping version bump without failure.') + raise SystemExit(0) PY echo "report_path=.github/version-bump-report.json" >> "$GITHUB_OUTPUT"