not trigger an action if latest equals current

pull/11557/head
Krešo Kokoška 2024-09-29 22:50:48 +02:00
parent 7b13bacd09
commit 01d9fc2367
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ def process_component(component, component_data, repo_metadata, session):
logging.info(f'Component {component} version discrepancy, current={current_version}, latest={processed_latest_version}')
# CI - write data and return
if args.ci_check:
if args.ci_check and current_version != latest_version:
version_diff[component] = {
# used in dependecy-check.yml workflow
'current_version' : current_version,