mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-07 15:46:52 +00:00
* feat(deps): update go version, renovate config, tooling * chore(deps): update google/go-github to v74 * feat(deps): migrate from yaml.v3 to goccy/go-yaml * chore(deps): update goccy/go-yaml to v1.18.0 and address security concerns * feat: improve issue templates and project configuration - Update GitHub issue templates with CLI-specific fields for better bug reports - Add specialized templates for documentation, theme, and performance issues - Update pre-commit config to include comprehensive documentation linting - Remove outdated Snyk configuration and security references - Update Go version from 1.23+ to 1.24+ across project - Streamline README.md organization and improve clarity - Update CHANGELOG.md and CLAUDE.md formatting - Create comprehensive CONTRIBUTING.md with development guidelines - Remove TODO.md (replaced by docs/roadmap.md) - Move SECURITY.md to docs/security.md * docs: fix markdown linting violations across documentation * fix: resolve template placeholder issues and improve uses statement generation * fix: remove trailing whitespace from GitHub issue template
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
---
|
|
repos:
|
|
# Built-in pre-commit hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: detect-private-key
|
|
- id: trailing-whitespace
|
|
args: [--markdown-linebreak-ext=md]
|
|
exclude: "^testdata/"
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: check-symlinks
|
|
- id: check-toml
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
args: [--allow-multiple-documents]
|
|
exclude: "^testdata/"
|
|
- id: end-of-file-fixer
|
|
exclude: "^testdata/"
|
|
- id: mixed-line-ending
|
|
args: [--fix=auto]
|
|
- id: pretty-format-json
|
|
args: [--autofix, --no-sort-keys]
|
|
|
|
# YAML formatting with yamlfmt (replaces yamllint for formatting)
|
|
- repo: https://github.com/google/yamlfmt
|
|
rev: v0.17.2
|
|
hooks:
|
|
- id: yamlfmt
|
|
exclude: "^testdata/"
|
|
|
|
# Markdown linting with markdownlint-cli2 (excluding legacy files)
|
|
- repo: https://github.com/DavidAnson/markdownlint-cli2
|
|
rev: v0.18.1
|
|
hooks:
|
|
- id: markdownlint-cli2
|
|
exclude: '^testdata/'
|
|
|
|
# EditorConfig checking
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker
|
|
rev: v3.3.0
|
|
hooks:
|
|
- id: editorconfig-checker
|
|
alias: ec
|
|
|
|
# Go formatting, imports, and linting
|
|
- repo: https://github.com/TekWizely/pre-commit-golang
|
|
rev: v1.0.0-rc.2
|
|
hooks:
|
|
- id: go-imports-repo
|
|
args: [-w]
|
|
- id: go-mod-tidy
|
|
- id: golangci-lint-repo-mod
|
|
args: [--fix]
|
|
|
|
# Shell formatting and linting
|
|
- repo: https://github.com/scop/pre-commit-shfmt
|
|
rev: v3.12.0-2
|
|
hooks:
|
|
- id: shfmt
|
|
|
|
# GitHub Actions linting
|
|
- repo: https://github.com/rhysd/actionlint
|
|
rev: v1.7.7
|
|
hooks:
|
|
- id: actionlint
|
|
args: ["-shellcheck="]
|