[CI] Give every Buildkite step an explicit key, and a hook to enforce it (#56329)

Signed-off-by: Tahsin Tunan <tahsintunan@gmail.com>
This commit is contained in:
Tahsin Tunan
2026-09-11 18:08:05 -07:00
committed by GitHub
parent 56d7270138
commit 80650454dc
12 changed files with 139 additions and 1 deletions
+7
View File
@@ -177,6 +177,13 @@ repos:
files: ^\.github/mergify\.yml$
pass_filenames: false
additional_dependencies: [PyYAML, regex]
- id: check-buildkite-step-keys
name: Check every Buildkite step declares an explicit key
language: python
entry: python tools/pre_commit/check_buildkite_step_keys.py
files: ^\.buildkite/.*\.ya?ml$
pass_filenames: false
additional_dependencies: [PyYAML]
- id: mypy-3.10 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
name: Run mypy for Python 3.10
entry: python tools/pre_commit/mypy.py "3.10"