Update version_branch.yml
This commit is contained in:
5
.github/workflows/version_branch.yml
vendored
5
.github/workflows/version_branch.yml
vendored
@@ -1,3 +1,4 @@
|
||||
---
|
||||
#
|
||||
# Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
#
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user