diff --git a/.lintrunner.toml b/.lintrunner.toml index ce94dcbc818..fedaad23998 100644 --- a/.lintrunner.toml +++ b/.lintrunner.toml @@ -870,6 +870,8 @@ include_patterns = [ '.github/workflows/pull.yml', '.github/workflows/trunk.yml', '.github/workflows/periodic.yml', + '.github/workflows/mac-mps.yml', + '.github/workflows/slow.yml', ] command = [ 'python3', diff --git a/tools/linter/adapters/workflow_consistency_linter.py b/tools/linter/adapters/workflow_consistency_linter.py index b856880aa00..3e76483c1e1 100644 --- a/tools/linter/adapters/workflow_consistency_linter.py +++ b/tools/linter/adapters/workflow_consistency_linter.py @@ -102,6 +102,10 @@ if __name__ == "__main__": if "if" in job: del job["if"] + # same is true for ['with']['test-matrix'] + if "test-matrix" in job.get("with", {}): + del job["with"]["test-matrix"] + tag_to_jobs[sync_tag].append((path, {job_id: job})) # For each sync tag, check that all the jobs have the same code.