ci: add file hygiene workflow and resolve all lint errors#221
Closed
yshyn-iohk wants to merge 3 commits into
Closed
ci: add file hygiene workflow and resolve all lint errors#221yshyn-iohk wants to merge 3 commits into
yshyn-iohk wants to merge 3 commits into
Conversation
|
Add reusable file-hygiene workflow caller and canonical lint configs: - .github/workflows/file-hygiene.yml: caller for lint-files.yml - .editorconfig: UTF-8 (no BOM), LF line endings, indent rules with indent_size=4 override for Kotlin (*.kt, *.kts) - .gitattributes: LF normalization for text files, binary rules - .markdownlint.yml + .markdownlint-cli2.yaml: markdown lint rules with secp256k1-kmp/native/secp256k1/ excluded - .yamllint.yml: YAML lint rules with relaxations Refs: hyperledger-identus/hyperledger-identus#172 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Markdownlint auto-fix resolved formatting issues: - MD009: trailing spaces - MD012: multiple consecutive blank lines - MD022: missing blank lines around headings - MD031: missing blank lines around fenced code blocks - MD032: missing blank lines around lists - MD047: missing final newline CRLF to LF normalization: DCO.md, MAINTAINERS.md, SECURITY.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
5f8cf74 to
cc044df
Compare
|
Contributor
Author
|
Commits pushed directly to main to preserve 3-commit structure and correct Commits on main:
CI green on main: https://github.com/hyperledger-identus/apollo/actions/runs/26119103816 |
12 tasks
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.



Summary
Implements file hygiene linting for apollo as part of the org-wide rollout (hyperledger-identus/hyperledger-identus#172).
1. CI workflow and lint configuration
file-hygiene.ymlcaller workflow for the reusablelint-files.yml.editorconfigbaseline to existing ktlint rules.gitattributes,.markdownlint.yml,.markdownlint-cli2.yaml,.yamllint.ymlsecp256k1-kmp/native/secp256k1/submodule from all linters2. Lint fixes across the repo (10 files)
3.
.git-blame-ignore-revsTest plan
Refs: hyperledger-identus/hyperledger-identus#172
🤖 Generated with Claude Code