Skip to content

Add pre-commit hook for yaml formatting - #381

Merged
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:yaml-format
Aug 18, 2026
Merged

Add pre-commit hook for yaml formatting#381
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:yaml-format

Conversation

@gab-arrobo

Copy link
Copy Markdown
Contributor

No description provided.

@gab-arrobo
gab-arrobo requested review from a team and a lite review from Copilot August 18, 2026 21:39
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request introduces YAML auto-formatting via pre-commit and applies consistent formatting across existing YAML files in the repository.

Changes:

  • Add google/yamlfmt as a pre-commit hook to automatically format YAML.
  • Reformat various YAML configuration and GitHub workflow files (primarily whitespace/indentation normalization).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pcftests/pcfcfg.yaml Normalizes YAML indentation for serviceList entries and removes stray whitespace-only line.
factory/pcfcfg.yaml Removes whitespace-only line after SPDX headers (formatting-only).
factory/pcfcfg_with_custom_webui_url.yaml Removes whitespace-only line after SPDX headers (formatting-only).
.pre-commit-config.yaml Reformats the config for consistent indentation and adds the yamlfmt hook.
.golangci.yml Removes whitespace-only line after SPDX headers (formatting-only).
.github/workflows/stale.yml Removes whitespace-only blank lines (formatting-only).
.github/workflows/push.yml Removes whitespace-only blank lines (formatting-only).
.github/workflows/main.yml Removes whitespace-only blank lines (formatting-only).
.github/dependabot.yml Removes whitespace-only blank lines (formatting-only).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@gab-arrobo
gab-arrobo merged commit 4f4b678 into omec-project:main Aug 18, 2026
12 checks passed
@gab-arrobo
gab-arrobo deleted the yaml-format branch August 18, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants