Skip to content

Add GitHub action for formatting validation - #1600

Open
1nf0rmagician wants to merge 2 commits into
devfrom
feature/github-action-formatting-validation
Open

1nf0rmagician wants to merge 2 commits into
devfrom
feature/github-action-formatting-validation

Conversation

@1nf0rmagician

Copy link
Copy Markdown
Member

Merge only if/after #1598 is merged

To prevent repeated changes in PRs and align the whole solution to the current formatting settings.
To reduce the need for PR discussions about formatting, at least the correct dotnet formatting can easily be verifies automatically.
@1nf0rmagician 1nf0rmagician added this to the Framework 10.x milestone Nov 7, 2026
@1nf0rmagician 1nf0rmagician self-assigned this Nov 7, 2026
@andreniggemann

Copy link
Copy Markdown
Collaborator

I think we should talk about this, when you are available. @dbeuchler talked about this feature during the review of #1598 and we are not huge fans of failing the pipeline, because of formatting, because it increases the barrier to entry for contributing to our project.

We had the idea to create a bot that cyclically runs a format and creates a PR for it in the repo (similar to dependabot)
This would prevent the project from diverging to far from our guidelines while keeping the build pipeline lean.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants