diff --git a/.pipelines/CodeQL/CodeQL.yml b/.pipelines/CodeQL/CodeQL.yml index 61ec9e061bc..2d52badc567 100644 --- a/.pipelines/CodeQL/CodeQL.yml +++ b/.pipelines/CodeQL/CodeQL.yml @@ -15,4 +15,4 @@ resources: stages: - stage: CodeQlAnalysis jobs: - - template: SDL/CodeQL-CBL-Mariner.yml@CBL-Mariner-Pipelines \ No newline at end of file + - template: SDL/CodeQL-CBL-Mariner.yml@CBL-Mariner-Pipelines diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2501a7930a4..0fccd81e746 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: rev: e8b4e28241a9ae8296ba6e4a491b5da4eda73283 # 3.11.1 hooks: - id: editorconfig-checker - files: '\.toml$' + files: '\.(toml|ya?ml)$' - repo: https://github.com/commitizen-tools/commitizen rev: d910b66e2686a3ef6c3f438dec0f63ba3cf8d7ee # v4.18.0 hooks: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6da654ddec..b65937ec67b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,8 +128,8 @@ For changes that affect RPM output, build and smoke-test the result. Pure docume or metadata changes don't require a rebuild. See the [`README.md`](README.md) for `azldev` commands. -Commit-message and TOML checks are managed by pre-commit. Install it and run the -file-oriented checks used by CI: +Commit-message, TOML, and YAML checks are managed by pre-commit. Install it and run +the file-oriented checks used by CI: ```bash python3 -m pip install -r scripts/ci/pre-commit/requirements.txt