Skip to content

chore: enhance CI and pre-commit configurations with additional hooks and secret scanning - #20

Merged
Ajimaru merged 1 commit into
devfrom
chore/hooks-followup
Dec 2, 2026
Merged

Ajimaru merged 1 commit into
devfrom
chore/hooks-followup

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Dec 2, 2026

Copy link
Copy Markdown
Owner

This pull request enhances the project's code quality and security automation by adding new pre-commit hooks, secret scanning configuration, and minor improvements to CI and release workflows. The main focus is on strengthening code hygiene and preventing accidental leaks of sensitive information.

Pre-commit and secret scanning improvements:

  • Added several new pre-commit hooks, including checks for large files, executable scripts, private keys, and branch protection via no-commit-to-branch. Integrated gitleaks for secret scanning and configured it to skip generic API key rules and allow certain third-party and placeholder patterns (.pre-commit-config.yaml, .gitleaks.toml). [1] [2]
  • Updated the CI workflow to skip local-only pre-commit hooks (branch guard and secret scan) during CI runs by setting the SKIP environment variable (.github/workflows/ci.yml).

Additional linting and validation:

  • Added new pre-commit hooks for GitHub Actions workflow linting (actionlint), JSON schema validation for workflows and dependabot files, and validate-pyproject for Python project configuration validation (.pre-commit-config.yaml).

Workflow improvements:

  • Minor improvement to the release workflow: grouped echo statements for better readability and atomicity when setting GitHub Actions outputs (.github/workflows/release.yaml).

@Ajimaru Ajimaru self-assigned this Dec 2, 2026
@Ajimaru Ajimaru added the ci CI, build or workflow changes label Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9e10fbf1-dac1-4389-bde7-218c35a978c0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ajimaru
Ajimaru merged commit e598bac into dev Dec 2, 2026
21 of 22 checks passed
@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Ajimaru
Ajimaru deleted the chore/hooks-followup branch December 2, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI, build or workflow changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant