chore: add pre-commit with linters#72
Merged
dcalavrezo-qorix merged 1 commit intomainfrom Mar 6, 2026
Merged
Conversation
Member
AlexanderLanin
commented
Mar 4, 2026
- add pre-commit
- add linters
- add formatters
- one change in codeql.yml: parameter cannot be required AND have a default
Contributor
There was a problem hiding this comment.
Pull request overview
Adds repository-level developer tooling (pre-commit + YAML formatting/linting) and aligns GitHub workflow YAML formatting, including a small CodeQL input fix.
Changes:
- Add pre-commit configuration and yamlfmt settings (plus VS Code recommendations/settings).
- Normalize/format multiple GitHub Actions workflow YAML files.
- Fix CodeQL reusable-workflow input to not be both
requiredand have adefault.
Reviewed changes
Copilot reviewed 9 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
.pre-commit-config.yaml |
Introduces pre-commit hooks (YAML checks, actionlint, yamlfmt). |
.yamlfmt |
Adds yamlfmt configuration. |
.vscode/settings.json |
Adds editor settings related to formatting/validation for YAML. |
.vscode/extensions.json |
Recommends extensions for GitHub Actions + YAML. |
.github/workflows/local_on_pr.yml |
Adds a PR workflow intended to run pre-commit in CI. |
.github/workflows/codeql.yml |
Adjusts build-script input required/default combination. |
.github/workflows/required-approvals.yml |
YAML formatting changes; updates a run: step representation. |
.github/workflows/on-pr.yml |
Minor YAML formatting (branches list). |
.github/workflows/score-pr-checks.yml |
Line-ending/format normalization only. |
.github/workflows/docs-verify.yml |
Line-ending/format normalization only. |
.github/workflows/docs-cleanup.yml |
Minor YAML formatting (permissions indentation). |
.github/workflows/license-check.yml |
Removes stray whitespace-only lines. |
.github/workflows/format.yml |
Removes stray whitespace-only line. |
.github/workflows/copyright.yml |
Minor whitespace/indent normalization. |
.github/actions/deploy-versioned-pages/action.yml |
Removes stray blank line and adjusts comment indentation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dcalavrezo-qorix
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.