Skip to content

ci: add pre-commit hooks and fix shellcheck findings#295

Merged
chorrell merged 3 commits into
mainfrom
add-more-pre-commit-hooks
May 26, 2026
Merged

ci: add pre-commit hooks and fix shellcheck findings#295
chorrell merged 3 commits into
mainfrom
add-more-pre-commit-hooks

Conversation

@chorrell
Copy link
Copy Markdown
Owner

Changes

  • Add pre-commit hooks: actionlint, zizmor, gitleaks, pre-commit-hooks (trailing-whitespace, end-of-file-fixer, check-yaml, check-merge-conflict, check-added-large-files, mixed-line-ending)
  • Sort .pre-commit-config.yaml entries by repo project name
  • Fix shellcheck findings in workflow files:
    • SC2086: Quote variable expansions ($LATEST_VERSION, , , ``)
    • SC2035: Use ./*.sh glob pattern to prevent dash-prefixed filenames being interpreted as options

All pre-commit hooks now pass with pre-commit run --all-files.

chorrell added 3 commits May 26, 2026 13:41
Quote variable expansions to satisfy SC2086 and use ./*.glob
pattern to satisfy SC2035 in actionlint checks.
@chorrell chorrell merged commit 5149e06 into main May 26, 2026
5 checks passed
@chorrell chorrell deleted the add-more-pre-commit-hooks branch May 26, 2026 20:25
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.

1 participant