fix: makefile conformance stage

Add make conformance command.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
This commit is contained in:
Serge Logvinov
2025-06-13 13:43:12 +07:00
committed by Serge
parent 628e7d6500
commit 2ebbf7a9d5
4 changed files with 17 additions and 2 deletions

View File

@@ -9,10 +9,9 @@ policies:
body:
required: true
dco: true
gpg: false
spellcheck:
locale: US
maximumOfOneCommit: false
maximumOfOneCommit: true
conventional:
types:
- build

View File

@@ -21,3 +21,5 @@ jobs:
- name: Conform action
uses: talos-systems/conform@v0.1.0-alpha.30
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,5 +1,15 @@
# Contributing
## Pull Requests
All PRs require a single commit.
Having one commit in a Pull Request is very important for several reasons:
* A single commit per PR keeps the git history clean and readable.
It helps reviewers and future developers understand the change as one atomic unit of work, instead of sifting through many intermediate or redundant commits.
* One commit is easier to cherry-pick into another branch or to track in changelogs.
* Squashing into one meaningful commit ensures the final PR only contains what matters.
## Developer Certificate of Origin
All commits require a [DCO](https://developercertificate.org/) sign-off.

View File

@@ -81,6 +81,10 @@ lint: ## Lint Code
unit: ## Unit Tests
go test -tags=unit $(shell go list ./...) $(TESTARGS)
.PHONY: conformance
conformance: ## Conformance
docker run --rm -it -v $(PWD):/src -w /src ghcr.io/siderolabs/conform:v0.1.0-alpha.30 enforce
############
.PHONY: helm-unit