Skip to content

Commit 877dd59

Browse files
committed
Add ignore_updates flag to gh action
1 parent 2be4a89 commit 877dd59

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/scripts/check_dependencies.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ def check_releases(releases_source_file):
7373
continue
7474

7575
for name, info in items.items():
76+
# Skip dependencies marked with ignore_updates=true
77+
if info.get("ignore_updates", False):
78+
continue
79+
7680
current_version = info.get("version")
7781
latest_version, latest_url = REGISTRIES[category](info)
7882

variables.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies:
1414
polkadot_js_api:
1515
repository_url: https://github.com/polkadot-js/api
1616
version: v15.0.2
17+
ignore_updates: true # This specific version is used in asset-transfer-api. Should only be updated when asset-transfer-api is updated.
1718
srtool:
1819
repository_url: https://github.com/paritytech/srtool
1920
version: v0.18.2
@@ -36,6 +37,7 @@ dependencies:
3637
tokio:
3738
name: tokio
3839
version: 1.44.2
40+
ignore_updates: true
3941
chain_spec_builder:
4042
name: staging-chain-spec-builder
4143
version: 10.0.0

0 commit comments

Comments
 (0)