Skip to content

12: add YAML validation workflow and sorting script#34

Merged
SFJohnson24 merged 2 commits into
mainfrom
autoformat-autosort
May 14, 2026
Merged

12: add YAML validation workflow and sorting script#34
SFJohnson24 merged 2 commits into
mainfrom
autoformat-autosort

Conversation

@alexfurmenkov
Copy link
Copy Markdown
Collaborator

update setup for pre-commit hooks

@alexfurmenkov alexfurmenkov requested review from RamilCDISC, SFJohnson24 and gerrycampion and removed request for SFJohnson24 May 12, 2026 23:11
@alexfurmenkov alexfurmenkov linked an issue May 12, 2026 that may be closed by this pull request
@alexfurmenkov alexfurmenkov marked this pull request as ready for review May 13, 2026 12:22
Copy link
Copy Markdown
Collaborator

@SFJohnson24 SFJohnson24 left a comment

Choose a reason for hiding this comment

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

This PR correct addresses the specs laid out in the attached issue. Correct adds a GitHub Actions workflow to validate rule.yml formatting on PRs. Only checks files changed in the PR rather than the full repo, posts a single updating comment with fix instructions, and fails the job if any file is out of order. It also adds pre-commit hook to format and sort before committing and an extension to run on save.

@SFJohnson24 SFJohnson24 merged commit fae9e90 into main May 14, 2026
3 checks passed
@SFJohnson24 SFJohnson24 deleted the autoformat-autosort branch May 18, 2026 19:38
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.

Autoformat and Autosort

2 participants