diff --git a/pr-checks/sync.py b/pr-checks/sync.py index e9da5d049..7887d3723 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -65,7 +65,10 @@ def writeHeader(checkStream): matrix = [] excludedOsesAndVersions = checkSpecification.get('excludeOsAndVersionCombination', []) for version in checkSpecification.get('versions', defaultTestVersions): - runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"] + if version == "latest": + raise ValueError('Did not recognize "version: latest". Did you mean "version: linked"?') + + runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"] operatingSystems = checkSpecification.get('operatingSystems', ["ubuntu", "macos", "windows"]) for operatingSystem in operatingSystems: